/*
Theme Name: Magazine Basic
Theme URI: http://themes.bavotasan.com/our-themes/basic-themes/magazine-basic
Description: A Magazine-style theme with a fully customizable layout built for WordPress 3.4. Options include site width, widgetized sidebars, header logo, multiple front page grid layouts, custom nav menus, post formats, Google Analytics, pagination, drop-down menus and tons more. Tested in Firefox, IE, Safari and Chrome. Fully optimized for SEO. Translation ready. 100% valid xHTML. Designed by <a href="http://themes.bavotasan.com/">Themes by bavotasan.com</a>.
Version: 2.7.9
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;
	}

embed,
object,
.format-video iframe {
	max-width: 100%;
	}

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;
	}
			
#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;
		}

.post .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;
	float: left;
	}
	
	.post .more-link:hover {
		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;
	width: 100%;
	padding: 8px;
	font-size: 1em;
	line-height: normal;
   	clear: both;
    float: left;
    border: 0;
    background: #eee;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    }	
    
#pagination a,
#pagination span,
#pagination .total-pages {
   	float: left;
    background: #fff;
	padding: 3px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #ccc;
	color: #666;
}

#pagination a:hover,
#pagination span.current {	
	border: 1px solid #999;
	color: #444;
}
			
/* Other Elements */

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

table {
	width: 100%;
	}

	tr:nth-of-type(odd) {
		background: #eee;
	}
	
	td, th {
		background: #fff;
		padding: 6px;
		border: 1px solid #ccc;
		text-align: left;
		}
	
	th {
		background: #eee;
		font-weight: bold;
		}
		
	.widget #calendar_wrap {
		padding: 0 20px 20px;
		}

/* =Comments
-------------------------------------------------------------- */
#comments,
#respond,
.commentlist,
.commentlist ul.children,
.commentlist li.comment,
.commentlist li.pingback,
.commentlist .comment-body,
textarea#comment { 
	width: 100%;
	clear: both;
	float: left;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	}
	
	#comments-title {
		margin-bottom: 0;
		}

	.commentlist li.comment,
	.commentlist li.pingback {
		padding-bottom: 10px;
		}

	.commentlist,
	.commentlist ul.children { 
		list-style: none; 
		padding: 0;
		}
		
		.commentlist ul.children {
			margin: 10px 0 0;
			padding-left: 10px;
			}
			
			.commentlist ul.children li.comment {
				position: relative;
				}
		
	.commentlist .comment-body {
		padding: 20px; 
		background: #f6f6f6; 
		display: block;
		border: 1px solid #e2e2e2;
		}

		.commentlist .children > li.comment {
			padding-left: 23px !important;
			}
		
	.comment-notes { 
		line-height: 1.3em; 
		clear: both; 
		}

	.commentlist li.comment .avatar {
		float: left;
		padding: 0;
		}
	
	.commentlist li.comment .comment-author {
		width: 100%;
		color: #222;
		text-decoration: none;
		}
		
		.commentlist li.comment .comment-author {
			font-size: 16px;
			padding-left: 75px;
			line-height: 1;
			}
		
	.commentlist li.comment .comment-meta {
		padding-left: 75px;
		font-size: 12px;
		color: #888;
		font-style: italic;
		}
	
	.commentlist li.comment .comment-text {
		padding: 0 0 0 75px;
		}

	#cancel-comment-reply-link { 
		font-size: 12px;
		float: right;
		}
		
	.comment-reply-link {
		float: right;
	 	background: #999; 
	 	border: 1px solid #777; 
	 	-moz-border-radius: 2px; 
	 	-webkit-border-radius: 2px; 
	 	border-radius: 2px; 
	 	color: #fff; 
	 	font: normal 11px Arial, sans-serif; 
	 	padding: 6px 10px 4px;  
	 	text-align: center; 
	 	margin-top: 5px;
	 	text-decoration: none; 
	 	text-transform: uppercase;
	 	}
	
		 .comment-reply-link:hover { 
		 	background: #cc0000; 
		 	border: 1px solid #cc0000;
		 	text-decoration: none;
		 	}
		
	.commentlist pre {
		background: #eee;
		border-color: #e2e2e2;
		}
				
	.comment .url {
		font-style: italic;
		}

	.comment #respond {
		margin-top: 10px;
		}

	#leftcontent h3#reply-title,
	#leftcontent h3#comments-title {
		font-size: 24px;
		line-height: 26px;
		}
		
	#respond .form-submit {
		clear: both;
		float: left
		}

/* 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;
	}