/* MINIMUM RESET - based on work by Eric Meyer
------------------------------------------------------------------ */

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 { border: 0; font-size: 100%; margin: 0; outline: 0; padding: 0; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; }

body
{
  font: 100.1%/1.5 "Helvetica Neue", Arial, "Lucida Grande", "Lucida Sans Unicode", "Microsoft YaHei", sans-serif;
}
a { text-decoration: none; }
a:link, a:visited { border-bottom: 1px solid #fff; color: #0096C6; }
a:focus, a:hover, a:active { border-bottom-color: #C54E0B; }

#sidebar a, #sidebar a:link, #sidebar a:visited { border-bottom: 1px solid #fff; color: #C54E0B; }
#sidebar a:focus, #sidebar a:hover, #sidebar a:active { border-bottom-color: #C54E0B; color: #111; }
#sidebar .sb-tools a, #sidebar .sb-tools a:link, #sidebar .sb-tools a:visited { border: 0 none; color: #C54E0B; }
#sidebar .sb-tools a:active, #sidebar .sb-tools a:focus, #sidebar .sb-tools a:hover { border: 0 none; color: #000; }
#sidebar .textwidget a img, #sidebar .textwidget a:hover img { border: 0 none; }

abbr, acronym { border-bottom: 1px dashed #999; cursor: help; }

blockquote {
  background-color: #f8f8f8;
  border-left: 2px solid #eaeaea;
  color: #111;
  font-style: italic;
  margin: 0 0 9px;
  padding: 7px;
}

cite { font-style: italic; }

code {
  background: #eaeaea;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.9em;
  padding: 1px 3px;
}

del { color: #8b0000; text-decoration: line-through; }

em { font-style: italic; }

h1, h2, h3, h4, h5, h6 {
  color: #000;
  display: block;
  /* fixed for Non-PCs without Photoshop CS2+ */
  font-family: "Myriad Pro", "HelveticaNeue-Light", "Helvetica Neue Light", "Lucida Grande", "Helvetica Neue", Arial, "Lucida Sans Unicode", sans-serif;
  font-weight: normal;
}

h1 { font-size: 28px; line-height: 1.2; margin: 0.3em 0 10px; }
h2 { font-size: 24px; line-height: 1.3; margin: 1em 0 .2em; }
h3 { font-size: 18px; line-height: 1.3; margin: 1em 0 .2em; }
h4 { font-size: 16px; margin: 1.33em 0 .2em; }
h5 { font-size: 1.3em; margin: 1.67em 0; font-weight: bold; }
h6 { font-size: 1.15em; margin: 1.67em 0; font-weight: bold; }

h1 a, h2 a, h1 a:link, h2 a:link, h1 a:visited, h2 a:visited { color: #000; }
h1 a:active, h2 a:active, h1 a:focus, h2 a:focus, h1 a:hover, h2 a:hover { color: #C54E0B; }

hr { display: none; }
input { vertical-align: middle; }
ins { color: #006400; text-decoration: none; }
small { font-size: 0.8em; }
strong { font-weight: 550; }
sub, sup { font-size: 0.7em; }

a.nohover,
a.nohover
{
  border-bottom-width: 0 !important;
  text-decoration: none;
}

/* Generic classes
------------------------------------------------------------------- */

/* Beautified ampersands */
.amp { font-family: "Palatino Linotype", Palatino, Georgia, "Times New Roman"; font-style: italic; }
/* Emphasize your name in the About-Box */
.smaller-caps { font-size: 110%; font-variant: small-caps; }
.hidden { display: none; }
.top-link { background: transparent url(img/top-sprite.png) 0 5px no-repeat; padding-left: 12px; }
.top-link:hover { background-position: 0 -29px; }



/* Wordpress specific CSS
------------------------------------------------------------------- */

.aligncenter, div.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.aligncenter img, .aligncenter p.wp-caption-text {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.alignleft { float: left; }
.alignright { float: right; }
img.alignleft { display: inline; margin: 0 7px 2px 0; padding: 4px; }
img.alignright { display: inline; margin: 0 0 2px 7px; padding: 4px; }
.entry div.alignleft { float: left; margin: 0 8px 7px 0; }

/* Resizes the image to the maximum width of the content area */
.entry img {
  max-width: 576px;
  /* smooth image resizement in IE7+ */
  -ms-interpolation-mode: bicubic;
}

.wp-caption {
  background-color: #F0F0F0;
  border: 1px solid #E5E5E5;
  overflow: hidden;
  padding: 3px;
}

.wp-caption img { border: 0 none; margin: 0; padding: 0; }

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}

.more-link {
  background-color: #F4F8F9;
  border-bottom: 1px solid #E6F0F2;
  font-size: 11px;
  padding: 5px 6px 3px;
  text-shadow: 0 1px 0 #fff;
}

.more-link:hover { background-color: #E6F0F2; border-bottom-color: #B3CDD8; color: #000; }

/* Tables and #wp-calendar */
caption { background-color: #E6F0F2; border-top: 1px solid #E6F0F2; text-align: center; }
td#next { text-align: right; }



/* STRUCTURE
------------------------------------------------------------------- */

#container {
	width: 950px; 
	position: relative;
	padding: 20px 0 20px 30px;
}

.pagewidth {width: 980px; position: relative;}

#content {
  margin: 0 520px 0 0;
  float: left;
}

.widecontents {margin-right: 340px !important;}

#sidebar {
  float: right;
  margin-left: -485px;
  width: 485px;
}

.narrowsidebar {width: 305px !important; margin-left: -305px !important;}

#sidebar ul.newslist li
{
	margin-bottom: 5px;
}
#sidebar ul.newslist li a
{
	color: #0089B3;
}
#sidebar ul.newslist li a:hover
{
	border-color: #999;
}

#sidebar .newstab
{
	color: #777; 
	background: #EEE;
	float: left; 
	padding: 2px 5px;
	cursor: pointer;
	border-right: 1px solid #FFF;
}
#sidebar .newstab_selected
{
	color: #FFF; 
	background: #555; 
}

/* POST LISTS
------------------------------------------------------------------- */
img.morearrow
{
	display: inline;
}
.postlist .post
{
	margin-top: 20px;
	position: relative;
	padding-right: 90px;
}
.postlist .post .entry
{
	font-size: 11px;
}
.postlist .post h1
{
	font-size: 18px;
	font-family: 'Trebuchet', 'Trebuchet MS', sans;
}

.postlist .datebox
{
	background: url('img/datebox.png');
	width: 80px;
	height: 30px;
	text-align: center;
	position: absolute;
	right: 0;
	font-size: 11px;
	color: #CCC;
	line-height: 30px;
}

/* POSTS
------------------------------------------------------------------- */

.entry p, .entry ol, .entry ul, .entry dl { margin: 0 0 9px; color: #4d4d4d; }
.entry blockquote p { margin: 0; }

.entry ol { margin-left: 0.75em; padding-left: 12px; }
.entry ul { margin-left: 0.5em; padding-left: 12px; }
.entry ol li { list-style-type: decimal; }
.entry ul li { list-style-type: disc; }

.entry dl { }
.entry dt { font-weight: bold; }
.entry dd { background: transparent url(img/dl-arrow.gif) 0 4px no-repeat; padding: 0 0 4px 1em; }



/* PAGINATION on single.php */

.previousnext, .pagination { font-size: 11px; margin: 20px 0; }

.page-link {

}

.page-link span, .page-link a {
}

.page-link span { background-color: #fff; color: #111;}
.page-link a span { margin: 0; }
.page-link a:link span, .page-link a:visited span { background-color: #5B8EAD; color: #fff; }
.page-link a:hover span, .page-link a:active span, .page-link a:focus span { background-color: #285776; color: #fff; }
.page-link strong { display: block; float: left; margin-right: 5px; }

.postmetadata {
}


/* SIDEBAR
------------------------------------------------------------------- */

#sidebar .sb-title
{
	margin-bottom: 10px;
	color: #0089B3;
	text-transform: uppercase;
	font-family: 'Trebuchet MS', 'Trebuchet', sans;
	font-size: 18px;
}
#sidebar #sidebar_left
{
	float: left;
	width: 280px;
}

#sidebar #sidebar_left .sb-title {color: #555;}

#sidebar #sidebar_right
{
	float: left;
	width: 180px;
	padding-left: 15px;
}

#sidebar .flickr_badge img
{
	float: left;
	margin: 2px;
	border: 1px solid #0096C6;
}

#sidebar .widget_tag_cloud a {
	color: #0096C6;
}

ul.twitter{}
li.twitter-item{}
p.twitter-message {}
.twitter-timestamp {}
a.twitter-link {}
a.twitter-user {}

.currently-viewing,
#sidebar #about,
#sidebar .categories,
#sidebar .archives,
.pagenav,
#meta,
.linkcat,
.widget {  }

.categories li li, .pagenav li li { margin-left: 6px; }

.sb-list li
{
	margin-bottom: 15px;
	font-size: 11px;
}

.previous-post a, .next-post a {

}

.next-post a:active, .next-post a:focus, .next-post a:hover { background-position: right -295px; border: none; }
.previous-post a, .previous-post a:link, .previous-post a:visited { background-position: 0 5px; padding-right: 0; }
.previous-post a:active, .previous-post a:focus, .previous-post a:hover { background-position: 0 -95px; }

ul.group {
}



/* CLEARFIX
------------------------------------------------------------------ */

html .clearfix { display: block; }
* html .clearfix { height: 1%; }
.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }




/* CJA Specific stuff
------------------------------------------------------------------ */
div#header
{
	position: relative;
}
div#top_menu
{
	position: absolute;
	right: 0;
	bottom: 0;
}
div#top_menu ul
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}
div#top_menu ul li
{
	list-style-type: none;
	margin: 0;
	float: left;
	display: block;
	margin-left: 2px;
	padding: 3px 9px;
	font-family: Arial;
	border-bottom: 4px solid #FFF;
	line-height: 100%;
}

div#top_menu ul li a
{
	font-family: Arial;
	color: #000;
	font-size: 16px;
	font-weight: bold;
	border: 0;
}

div#top_menu ul li.current_page_item .corner_left,
div#top_menu ul li.current_page_ancestor .corner_left
{
	position: absolute;
	background: url('img/menu_corner_tl.png');
	width: 3px;
	height: 3px;
	left: 0; top: 0;
}

div#top_menu ul li.current_page_item .corner_right,
div#top_menu ul li.current_page_ancestor .corner_right
{
	position: absolute;
	right: 0;
	top: 0;
	background: url('img/menu_corner_tr.png');
	width: 3px;
	height: 3px;
}

div#top_menu ul li.current_page_item,
div#top_menu ul li.current_page_ancestor
{
	border-bottom: 4px solid #313131;
	background: #313131;
	position: relative;
}
div#top_menu ul li.current_page_item a,
div#top_menu ul li.current_page_ancestor a
{
	color: #FFF;
}
div#language_selector ul li
{
	list-style-type: none;
	display: inline;
	padding-left: 10px;
}
div#language_selector ul {
	float: left;
}
div#language_selector
{
	position: absolute;
	right: 10px;
	top: 10px;
	font-size: 12px;
	line-height: 14px;
	font-weight: bold;
	color: #DDD;
	text-transform: uppercase;
}
div#top_buttons
{
	position: absolute;
	right: 10px;
	top: 40px;	
}
div#top_feature
{
	background-color: #313131;
	background-image: url('img/top_feature_bg.png');
	background-repeat: repeat-x;
	background-position: 0 100%;
	padding: 5px 20px 13px 30px;
	color: #FFF;
}

div#top_feature p
{
	font-size: 13px;
	line-height: 22px;
	font-family: 'Trebuchet', 'Trebuchet MS', 'Deja Vu Sans', sans;
	width: 600px;
	margin: 10px 0;
	color: #EEE;
}

div#submenu
{
	background-color: #313131;
	position: relative;
	top: -30px;
	padding: 15px;
	padding-top: 5px;
}

div#submenu ul li
{
	display: block;
	margin-bottom: 5px;
	font-size: 18px;
}
div#submenu ul li li
{
	font-size: 14px;
	margin-left: 20px;
}
div#submenu ul li.page_item a
{
	color: #FFF;
}

div#submenu ul li.current_page_item a
{
  color: #C54E0B;
  border-bottom-color: #C54E0B;
}

div#submenu ul li.current_page_item li a
{
  color: #FFF;
  border-bottom-color: #FFF;
}

div#submenu ul li.page_item a:hover
{
	border-color: #0096C6;
}
div#submenu .corner_left
{
	position: absolute;
	background: url('img/menu_corner_bl.png');
	width: 3px;
	height: 3px;
	left: 0;
	bottom: 0;
}

div#submenu .corner_right
{
	position: absolute;
	right: 0;
	bottom: 0;
	background: url('img/menu_corner_br.png');
	width: 3px;
	height: 3px;
}
div#footer
{
	background-color: #C9C9C9;
	color: #AAA;
	padding-top: 20px;
	clear: both;
	margin-top: 20px;
}
div#footer a
{
	color: #444;
	border-bottom: 1px dotted #000;
	font-size: 11px;
}
div#footer th
{
	font-family: 'Trebuchet MS', 'Nimbus', 'Trebuchet', 'Liberation Sans';
	font-size: 18px;
	font-weight: normal;
	text-transform: uppercase;
	padding: 0 20px;
	text-align: left;
}
div#footer td
{
	padding: 0 20px 20px 20px;
	font-size: 12px;
	vertical-align: top;
}

div#footer .arrowbutton
{
	background: #2E2E2E;
	color: #FFF;
	padding: 5px;
	font-size: 13px;
	border: 0;
}
div#footer input
{
	padding: 5px;
	font-size: 13px;
	background: #FFF;
	border: 1px solid #2e2e2e;
}



div#content h1,
div#content h2,
div#content h3,
div#content h4,
div#content h5
{
	font-family: 'Trebuchet MS', 'Trebuchet', sans; 
}

div#content
{
	font-size: 13px;
}


.twtr-ft a img
{
  display: none ! important;
}


