/*
Theme Name: Magazine Basic
Theme URI: http://themes.bavotasan.com/our-themes/basic-themes/magazine-basic
Description: Built for WordPress 3.1. A magazine style theme with a fully customizable layout. Theme options include site width, widgetized sidebars, header logo, multiple front page grid layouts, cuostm nav menus, post formats, Google Analytics, pagination, drop-down menus and tons more. Tested in Firefox 3.6, IE 7 & 8, Safari 5 and Chrome 7. Fully optimized for search engine ranking. Translation ready. 100% valid xHTML. Designed by <a href="http://themes.bavotasan.com/">Themes by bavotasan.com</a>.
Version: 2.7.3
Author: c.bavota
Author URI: http://themes.bavotasan.com/
Tags: right-sidebar, left-sidebar, flexible-width, three-columns, two-columns, white, custom-header, theme-options, custom-background, custom-menu, threaded-comments, sticky-post, translation-ready

License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html

*/

/* Basic Tag Elements */

a {
	text-decoration: none;
	outline: none;
	color: #205B87;
	}
	
	a:hover {
		text-decoration: underline;
		}
	
img { 
	border: 0;
	}

body {
	color: #444;
 	margin: 0 auto; 
	font-size: 14px; 
	padding: 0; 
	background: #eee;
	position: relative;
	}

h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a {
	color: #222;
	font-family: Georgia, Times, serif;
	font-weight: normal;	
	}

textarea {
	width: 97%;
	}

.fl {
	float: left;
	}
	
.fr {
	float: right;
	}
	
.clear {
	clear: both;
	}

blockquote {
	margin: 1em 2em;
	border-left: 1px dashed #999;
	padding-left: 1em;
	line-height: normal; 
	font-style: italic;
	}

.entry table {
	border-collapse: collapse;
	border-spacing: 0;
	margin: 1em 0;
}

.entry th {
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-weight: normal;
	background: #eee;
	border: 1px solid #ccc;
	text-transform: uppercase;
	padding: 6px;
}

.entry td {
	border: 1px solid #ccc;
	padding: 6px;
}

/* Header Elements */

#header{
	background: #fff;
	float: left;
	width: 100%;
	}

#headerad {
	margin: 24px 20px 16px;
	text-align: center;
	}

#login {
	height: 16px;
	font-size: 12px;
	color: #fff;
	text-align: right;
	padding: 10px 20px 15px;
	background: url(images/login.png) repeat-x;
	}
	
	#login a {
		color: #fff;
		}
	
	#login ul {
		padding: 0;
		margin: 0;
		}
	
	#login ul li {
		display: inline;
		}
	
.dot:before {
	content: url(images/whitedot.png) " ";
	}

#title {
	margin: 20px 16px 0;
	padding: 0;
	}
	
	#title h1,
	#title h2 {
		margin: 0;
		}
	
	#title a {
		font-size: 48px;
		color: #222;
		line-height: 50px;
		}	

	#title.aligncenter {
		margin: 20px auto 0;
		text-align: center;
		}
		
	#title.fr,
	#description.fr {
		text-align: right;
		clear: right;
		}			
	
	#title a:hover {
		color: #cc0000;
		text-decoration: none;
		}
	
	.headerimage img {
		margin: 20px 16px 0;
		}
		
	.headerimage .aligncenter {
		margin: 20px auto 0 !important;
		}
		
#description {
	font-size: 14px;
	margin: 0 16px 20px;
	padding: 0;
	clear: left;
	}
	
	#description.aligncenter {
		margin: 0 auto 20px;
		text-align: center;
		clear: both;
		}
	
.main-navigation {
	margin: 0;
	float: left;
	clear: both;
	width: 100%;
	background: url(images/nav.png);
	position: relative;
	z-index: 1000;
	}
	
	.main-navigation a {
		color: #fff;
		}
		
	.main-navigation ul ul li {
		background: #888;
		}

/*** 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%;
}
.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:			28px; /* match top ul list item height */
	z-index:		99;
}

	.sub-navigation .sf-menu li:hover ul,
	.sub-navigation .sf-menu li.sfHover ul {
		top:			2.1em; /* match top ul list item height */
		left:			0;
	}
	
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;
}



/*** DEMO SKIN ***/
.sf-menu {
	float:			left;
	margin-bottom:	0;
}
.sf-menu a {
	border-right:	1px solid #fff;
	padding: 		7px 15px;
	text-decoration:none;
}

.sf-menu li li a {
	border: 0;
	}

.main-navigation .sf-menu li:hover, .main-navigation .sf-menu li.sfHover,
.main-navigation .sf-menu a:focus, .main-navigation .sf-menu a:hover, .main-navigation .sf-menu a:active {
	background:		#666;
	outline:		0;
}

/*** arrows **/
.sf-menu a.sf-with-ul {
	padding-right: 	2.25em;
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
	position:		absolute;
	display:		block;
	right:			.75em;
	top:			.90em; /* IE6 only */
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
	background:		url(images/arrows-ffffff.png) no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}

	.sub-navigation .sf-sub-indicator {
		background:	url(images/arrows-000000.png) no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
		}

a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			.65em;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}

	.sub-navigation a > .sf-sub-indicator {  /* give all except IE6 the correct values */
		top: .4em;
		background-position: 0 -100px; /* use translucent arrow for modern browsers*/
	}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.sf-menu ul .sf-sub-indicator { background-position:  -10px 0; }
.sf-menu ul a > .sf-sub-indicator { background-position:  0 0; }

	.sub-navigation .sf-menu ul .sf-sub-indicator { background-position:  -10px 0; top: .65em; }
	.sub-navigation .sf-menu ul a > .sf-sub-indicator { background-position:  0 0; top: .65em; }

/* apply hovers to modern browsers */
.sf-menu ul a:focus > .sf-sub-indicator,
.sf-menu ul a:hover > .sf-sub-indicator,
.sf-menu ul a:active > .sf-sub-indicator,
.sf-menu ul li:hover > a > .sf-sub-indicator,
.sf-menu ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
	background:	url(images/shadow.png) no-repeat bottom right;
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}
				
.sub-navigation {
	clear: both;
	border-bottom: 1px solid #888;
	float: left;
	width: 100%;
	padding: 5px 0 0;
 	z-index: 50;
 	position: relative;
	}
	
	.sub-navigation ul {
		margin: 0 0 0 8px;
		}
	
	.sub-navigation li {
		list-style-type: none;
		float: left;
		font-size: 12px;
		padding: 0 10px 0 0;
		text-transform: uppercase;
		margin: 0;
		line-height: 24px;
		background: url(images/blackdot.png) right 5px no-repeat;
		position: relative;
		}
	
	.sub-navigation li:last-child {
		background-image: none;
		}
	
	.sub-navigation a {
		color: #222;
		padding: 0 5px;
		}
		
		.sub-navigation a:hover {
			text-decoration: underline;
			}
			
		.sub-navigation ul ul a:hover {
			text-decoration: none;
			}

.sub-navigation ul ul { margin: 0; }
.sub-navigation ul ul li { background:#eee; margin:0; padding: 0; line-height: 14px;}
.sub-navigation ul ul li a {  padding: 8px; font-size: 12px; }
.sub-navigation ul ul li a:hover { background-color:#ddd; }
.sub-navigation ul ul ul { top: 0 !important; }


.sub-navigation li.nodot {
	background: none;
	z-index: -50;
	}
	
.sub-navigation li.right-d {
	float: right;
	}

/* Main Elements */
	
#mainwrapper {
	float: left;
	padding: 15px 10px;
	margin: 0;
	border-top: 2px solid #ccc;
	border-bottom: 2px solid #ccc;
	background: #fff;
	}

#sidebar {
	float: left;
	margin: 0 10px;
	padding: 5px 0 0;
	}

#secondsidebar {
	float: left;
	margin: 0 10px;
	padding: 5px 0 0;
	}
	
.side {
	line-height: 20px;
	font-size: 18px;
	margin-bottom: 0;
	}	
	
.side-widget {
	float: left;
	margin: 0 0 15px;
	padding: 0 10px 15px;
	background: url(images/bg-hatch.gif);
	border: 1px solid #ddd;
	border-right-color: #ccc;
	border-bottom-color: #ccc;
	}
	
	.side-widget ul {
		padding: 0;
		margin: 0;
		list-style-type: none;
		}

	.side-widget ul li {
		padding: 0;
		margin: 0;
		font-size: 13px;
		}
		
	.side-widget ul li {
		padding-left: 15px;
		margin: 2px 0;
		}
	
	.side-widget h2 {
		font-size: 14px;
		padding: 10px 0 5px;
		margin-top: 0;
		text-align: center;
		text-transform: uppercase;
		background: url(images/h2line.gif) repeat-x bottom;
		}
		
	.side-widget .storycontent {
		border-bottom: 1px solid #ddd;
		}
		
	.side-widget .noline {
		border-bottom: 0;
		}		

.side-widget #s {
	margin-top: 15px;
	padding: 2px;
	width: 94%;
	}

.storycontent {
	line-height: 18px;
	font-size: 14px;
	word-wrap: break-word;
	}
		
.readmore {
	color: #cc0000;
	}
		
#footer {
	clear: both;
	float: left;
	width: 100%;
	padding: 10px 0;
	text-align: center;
	font-size: 11px;
	border-top: 1px solid #888;
	background: #fff;
	}

/* Left Content Elements */

#leftcontent {
	float: left;
	margin: 0 10px;
	padding: 0;
	}

	#leftcontent img {
		height: auto;
		}

	#leftcontent h5.latest {
		font-family:Verdana, Arial, Helvetica, sans-serif;
		margin: 0;
		padding: 0;
		color: #cc0000;
		margin-bottom: 5px;
		font-size: 14px;
		font-weight: bold;
		}

	#leftcontent h1,
	#leftcontent h2,
	#leftcontent h3 {
		margin: 5px 0 0;
		padding: 0;
		font-size: 36px;
		line-height: 38px;
		}

	#leftcontent .entry h1 { font-size: 28px; line-height: 30px; }
	#leftcontent .entry h2 { font-size: 22px; line-height: 24px; }
	#leftcontent .entry h3 { font-size: 18px; line-height: 20px; }
	#leftcontent .entry h4 { font-size: 16px; line-height: 18px; }
	#leftcontent .entry h5 { font-size: 14px; line-height: 16px; }
	#leftcontent .entry h6 { font-size: 12px; line-height: 14px; }

	#leftcontent h1.catheader {
		color: #cc0000;
		margin-bottom: 15px;
		font-size: 24px;
		line-height: 28px;
		}
		
	#leftcontent .twopost h2 {
		font-size: 26px;
		line-height: 28px;
		}
	
	#leftcontent .threepost h2 {
		font-size: 20px;
		line-height: 22px;
		}
	
	#leftcontent .postmetadata {
		clear: both;
		line-height: 14px;
		}
		
	#leftcontent .hentry .entry {
		font-size: 14px;
		line-height: 18px;
		}
		
	#leftcontent .date {
		margin-bottom: 5px;
		font-style: italic;
		color: #888;
		}
		
	#leftcontent .meta {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 11px;
		color: #444;
		}	
		
	#leftcontent .catdesc {
		background: #f7f7f7;
		border: 3px double #ddd;
		padding: 0 10px;
		color: #666;
		font-size: 13px;
		line-height: 15px;
		margin-bottom: 10px;
		}
		
/* This is your subtitle style */

#leftcontent p.sub {
	font-size: 24px;
	line-height: 26px;
	font-weight: bold;
	font-style: italic;
	margin: 10px 0 0;
	}

/* This is your blockquote style */
	
#leftcontent .entry .pullquote {
	width: 250px;
	font-size: 24px;
	line-height: 26px;
	float: right;
	margin: 0 0 0 30px;
	padding: 0;
	font-style: italic;
	}
	
	#leftcontent .entry .pullquote p {
		padding: 0;
		margin: 0;
		}

#leftcontent a.more-link {
	clear: both;
	width: 60px;
	text-align: center;
	display: block;
	color: #fff;
	margin: 12px 0;
	background: #aaa;
	padding: 0px 8px;
	font-size: 11px;
	line-height: 20px;
	}
	
	#leftcontent a:hover.more-link {
		text-decoration: none;
		background: #666;
		}

.tags a {
	color: #cc0000;
	}
	
.ind-post, .hentry {
	float: left;
	border-bottom: 1px solid #eee;
	margin-bottom: 10px;
	padding-bottom: 10px;
	width: 100%;
	word-wrap: break-word;
}

	.ind-post img {
		margin: 0px 10px 5px 0;		
		}

#twocol {
	float: left;
	margin-bottom: 3px;
	padding: 10px 0 0;
	background: url(images/line.gif) repeat-y 50% 0;
	}

	#twocol img {
		margin: 0px 8px 5px 0;
		}
		
	#twocol hr.two {
		height: 0;
		border: 0;
		clear: both;
		border-bottom: 1px solid #eee;
		}
	
.mainhr {
	float: left;
	background: #eee;
	clear: both;
	width: 100%;
	height: 1px;
	margin: 10px 0;
}	
	
.twopost {
	width: 46%;
	float: left;
	word-wrap: break-word;
	border: 0;
	}	

	.twopost img,
	.threepost img,
	.twopost embed,
	.threepost embed {
		max-width: 100% !important;
		height: auto !important;
		}

	.twopost2, .twopost4 {
		margin-left: 7.5%;
		}
		
	.twopost3, .twopost4 {
		border-top: 1px solid #eee;
		padding-top:5px;
		}
		
	.twopost1, .twopost3 {
		clear: left;
		}	
		
	#leftcontent .twopost .wp-caption,
	#leftcontent .threepost .wp-caption {
		max-width: 100%;
	}
	
		#leftcontent .twopost .wp-caption img,
		#leftcontent .threepost .wp-caption img {
			max-width: 94% !important;
			margin: 0;
			}	
		
#threecol {
	float: left;
	background: url(images/line.gif) repeat-y 31.5% 0;
	margin-top: 3px;
	width: 100%;
	}

#threecol2 {
	float: left;
	padding: 0;
	background: url(images/line.gif) repeat-y 67% 0;
	width: 100%;
}

	#threecol img {
		margin: 0px 5px 5px 0;
		}

.threepost {
	width: 29%;
	float: left;
	border: 0;
	border-top: 1px solid #eee;
	padding-top: 10px;
	word-wrap: break-word;
	}

	.threepost2, .threepost5 {
		padding: 10px 0 0;
		margin: 0 6%;
		}
		
	.threepost1, .threepost2, .threepost3 {
		border-top: 0;
		}
		
	.threepost1, .threepost4 {
		clear: left;
		}

/* Pagination */	
	
.pagination {
	margin: 20px 0 10px;
	float: left;
	background: #eee;
	width: 98%;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	padding: 12px 1% 10px;
	}	

.pagination a {
	padding: 3px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #ccc;
	color: #666;
	background-color: #FFFFFF;	
}

.pagination a:hover {	
	border: 1px solid #444;
	color: #444;
	background-color: #FFFFFF;
}

.pagination span.pages {
	padding: 3px 4px 2px 4px; 
	margin: 2px 2px 2px 2px;
	color: #666;
	border: 1px solid #ccc;
	background-color: #FFFFFF;
}
.pagination span.current {
	padding: 3px 4px 2px 4px; 
	margin: 2px;
	border: 1px solid #666;
	color: #444;
	background-color: #FFFFFF;
}
.pagination span.extend {
	padding: 3px 4px 2px 4px; 
	margin: 2px;	
	border: 1px solid #ccc;
	color: #444;
	background-color: #FFFFFF;
}
			
/* Other Elements */

.red, .entry a {
	color: #cc0000;
	}
	
#tagcloud {
	width: 80%;
	text-align: center;
	margin: auto;
	padding: 20px;
	}	
	
#tagcloud a {
	color: #cc0000;
	}

/* Comment Elements */

#postcomments {
	padding-top: 20px;
	}
			
	 h3#comments, #respond h3, h3#comments-title { color:#333; font:normal 24px/26px georgia,times,serif; margin: 10px 0 15px; clear: both; float: left; width: 100%; }

	 #respond p { font-size:11px; margin:0 0 1em; }	

	 ol.commentlist { list-style:none; margin:0; padding:0; float: left; }

	 ol.commentlist li { margin:0 0 10px; padding:20px 0 20px 20px;  }

	.commentlist .even {
		background: #eee;
		border-bottom: 1px solid #ddd;
		border-right: 1px solid #ddd;
		}

	.commentlist .avatar {
		float: right;
		padding: 5px;
		border: 1px solid #ddd;
		margin: 0 20px 10px 10px;
		background: #fff;
		}
	
	.commentlist .comment-author {
		font-size: 12px;
		}
	
	.commentlist .comment-text {
		padding: 0 20px 0 0;
		}
	
	.commentlist .url {
		font-size: 16px;
		font-family: Georgia, "Times New Roman", Times, serif;
		font-style: italic;
		}

	 ol.commentlist li div.reply { background:#999; border:1px solid #666; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; color:#fff; font:bold 9px/1 helvetica,arial,sans-serif; padding:6px 5px 4px;  text-align:center; width:36px; }

	 ol.commentlist li div.reply:hover { background:#cc0000; border:1px solid #cc0000; }

	 ol.commentlist li div.reply a { color:#fff; text-decoration:none; text-transform:uppercase; }

	 ol.commentlist li ul.children { margin:16px 20px 0 0; padding: 0 0 0 20px; list-style-image: url(images/commentarrow.png); }

	 ol.commentlist ul.children li.odd { background:#fff; }

	 ol.commentlist ul.children li.even { background:#eee; }

/* WordPress Required Elements */

.aligncenter,
div.aligncenter {
   display: block;
   margin: 5px auto;
}

.alignleft, div.alignleft {
   float: left;
   margin: 5px 15px 5px 0;
}

.content .storycontent .alignleft,
.search .storycontent .alignleft,
.archive .storycontent .alignleft { 
	margin-top: 0; 
	}

.alignright, div.alignright {
   float: right;
   margin: 5px 0 5px 15px;
}

.alignnone {
	margin: 5px 0;
	}

.wp-caption {
   border: 1px solid #bbb;
   text-align: center;
   background-color: #ddd;
   padding-top: 5px;
   margin: 0;
   /* optional rounded corners for browsers that support it */
   -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 p.wp-caption-text,
.gallery-caption {
   font-size: 11px;
   line-height: 14px;
   padding: 5px;
   margin: 0;
}

#today {
	color: #cc0000;
	}

#wp-calendar {
	margin: auto;
	}
	
.bypostauthor {}
.sticky {}

		
/* NEW POST FORMATS */

.gallery-thumb img {
	margin: 10px 0 0;
	padding: 5px;
	border: 1px solid #bbb;
	background: #ddd;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;	
	width: auto\9; /* IE 8 Hack */
	}
	
	.twopost .gallery-thumb img,
	.threepost .gallery-thumb img {
		margin: 10px 0 0 !important;
		max-width: 90% !important;
		}
	
.format-aside .entry p.excerpt { 
	padding-left: 30px;
	background: url(images/quotes.png) no-repeat top left;
	min-height: 30px;
	}

.format-audio .entry .pformat {
	padding-left: 38px;
	background: url(images/audio.png) no-repeat top left;
	min-height: 30px;
	display: block;
	}
	
.format-link .entry a { 
	padding-left: 38px;
	min-height: 30px;
	display: block;
	background: url(images/link.png) no-repeat top left;
	font-size: 18px;
	line-height: 22px;
	}
	
.format-image .entry {
	margin: 10px 0 0;
	}