/* Reset all margins and paddings for browsers */
* {
	padding: 0;
	margin: 0;
}

body {
	margin: 0
}

a:link { color: #0066B3; text-decoration: none; outline:none; }
a:visited { color: #6363B8; text-decoration: none; outline:none; }
a:focus,a:active { outline:none; }

#wrap {
	margin: 0 auto;
	min-width: 692px; /* 8 + 8 + 459 + 8 + 8 + 183 + 10 + 8 */
	max-width: 1200px;
	width: 90%;
}

/* TOP HEADER -------- */
#top {
	font: 13px Verdana, Arial, Sans-Serif;
	line-height: 21px;
	margin: 0 auto;
	padding: 0;
	color: #666;
	background: #FFF url(/prx/000/http/webos-goodies.jp/template/imgs/parts/top.jpg) repeat-x top;
	height: 81px;
}
#top h1 { font: bold 20px Arial, Sans-Serif; padding: 10px 0 0 25px; color: #FFF; background: transparent;}
#top h2 { font: bold 10px Arial, Sans-Serif; padding: 0px 0 0 25px; color: #aaa; background: transparent;}
#top .padding { padding-top: 5px; }
#top .lefts {
	background: transparent url(/prx/000/http/webos-goodies.jp/template/imgs/parts/topl.jpg) no-repeat left;
	height: 81px;
}
#top .rights {
	background: transparent url(/prx/000/http/webos-goodies.jp/template/imgs/parts/topr.jpg) no-repeat right;
	float: right;
	height: 81px;
	width: 18px;
}

/* SEARCH BOX AND BUTTON ----------*/
#search {
	font: 13px Verdana, Arial, Sans-Serif;
	line-height: 21px;
	float: right;
	padding: 15px 25px 0 0;
}

#search input.text {
	border: 1px solid #eee;
	display: inline;
	margin-top: 5px;
	width: 120px;
	height: 12px;
	font-size: 10px;
}
#search input.searchbutton {
	border: 0;
	background: transparent;
	color: #FFF;
	cursor: pointer;
	font: bold 10px Arial, Arial, Sans-Serif
}

#subheader {
	font: 11px Verdana, Arial, Sans-Serif;
	line-height: 16px;
	clear: both;
	border-top: 1px dotted #888;
	border-bottom: 1px dotted #888;
	background: #eaeaea;
	color: #555;
	padding: 1em;
	margin: 15px 8px 10px 8px;
}
#subheader a {
	text-decoration: none;
	border-bottom: 1px dashed #0066B3;
}
#subheader .text {
	width: 574px;
	margin: 0px auto;
	padding-left: 80px;
	background: url(/prx/000/http/webos-goodies.jp/template/imgs/logo/subheader.png) no-repeat left top;
}

#subscribe {
	color: #888;
	font: 12px Verdana, Arial, Sans-Serif;
	font-weight: bold;
	text-align:right;
	padding: 0px;
	margin: 0px 8px;
}
#subscribe img {
	border: none;
}
#subscribe * {
	vertical-align: middle;
}

/* TOP MENU ---------- */
#topmenu {
	font: 13px Verdana, Arial, Sans-Serif;
	line-height: 21px;
	margin: 0px 8px 0 8px;
	padding: 0;
	background: url(/prx/000/http/webos-goodies.jp/template/imgs/parts/menu.jpg) repeat-x top;
	height: 35px;
}
#topmenu .lefts {
	background: url(/prx/000/http/webos-goodies.jp/template/imgs/parts/menul.jpg) no-repeat left;
	height: 35px;
	padding-left: 5px;
}
#topmenu .rights {
	background: url(/prx/000/http/webos-goodies.jp/template/imgs/parts/menur.jpg) no-repeat right;
	float: right;
	height: 35px;
	width: 8px;
}
#topmenu li a {
	color: #FFF;
	text-align: left;
	padding-left: 10px;
	padding-right: 15px;
	text-decoration: none;
	background: transparent;
	font-weight: bold
}
#topmenu li { padding: 0px;
	float: left;
	margin: 0;
	font-size: 11px;
	line-height: 35px;
	white-space: nowrap;
	list-style-type: none;
	width: auto;
	background: url(/prx/000/http/webos-goodies.jp/template/imgs/parts/sep.gif) no-repeat top right
}

#main {
	background: #FFF;
	margin: 25px 0 15px 0;
	color: #666;
}


/* LEFT SIDE - ARTICLES AREA -------- */
#leftside {
	font: normal 12px Arial, Sans-Serif;
	line-height: 18px;
	color: #222;
	background: #FFF;
	float: left;
	width: 68%;
}
#leftside strong {
	color: #444;
}
#leftside-wrap {
	/*padding: 0px 16px 0px 8px;*/
	padding: 0px 0px 0px 8px;
	/*width: 467px;*/ /* 459 + 8 */
	overflow: hidden;
}
#leftside h1 {
	color: #000;
}
#leftside .article_head h1 {
	padding-left: 17px;
	margin-bottom: 0.8em;
	background: #FFF url(/prx/000/http/webos-goodies.jp/template/imgs/parts/head.gif) no-repeat 0px 5px;
	font-size: 14px;
	font-weight: bold;
	line-height: 16px;
	text-shadow: #ccc 2px 2px 2px;
}
#leftside .article_body {
	margin-bottom: 1em;
	padding-left: 8px;
}
#leftside .eyecatch_image {
	float: right;
	padding: 0 0 4px 8px;
	line-height: 1;
}
#leftside .morelink {
	padding-left: 8px;
}
#leftside .article_footer {
	border-top: 1px solid #e5e5e5;
	text-align: right;
	margin-bottom: 25px;
	margin-top: 5px;
	padding-top: 2px;
}

/* ---- Pagination ----- */
.pagination {
	text-align: right;
	margin-bottom: 1em;
}
.pagination .next {
	padding-left: 1em;
}

/* ---- Sidebar -------- */
#rightside {
	font: 13px Verdana, Arial, Sans-Serif;
	line-height: 21px;
	float: right;
	width: 30%;
	background: #FFF;
	color: #666;
}
#rightside-wrap {
	padding-right: 8px;
	/*width: 193px;*/ /* 183 + 10 */
	_overflow-x: hidden;
}

#rightside .sidetitle {
	font: bold 13px Arial, Sans-Serif;
	background: #CDCDCD url(/prx/000/http/webos-goodies.jp/template/imgs/parts/greyc.gif) no-repeat top right;
	height: 18px;
	padding: 3px;
	color: #777;
}
#rightside .side {
	background: #efefef;
	margin-bottom: 10px;
	padding: 0px 5px 5px 5px;
	color: #666;
	font-size: 11px;
	line-height: 1.5;
	overflow: hidden;
	border: solid 1px #cdcdcd;
	border-style-top: none;
}
#rightside a.sidebody {
	display: block;
	color: #246;
	padding: 2px 0px;
	border-bottom: dotted 1px #ccc;
}
#rightside a.sidebody:hover {
	background: #f8f8f8;
}
#rightside a.sidebody:last-child {
	border-bottom: none;
}
#rightside #tpl_recommendations {
	width:100%; height:360px;
	background-color:white;
}
#rightside #tpl_books{
	background:white;color:#222;
}
#rightside .tpl_book {
	margin:8px 0;
}
#tpl_books a.tpl_book-cover {
	display:block;
}
#tpl_books .tpl_book-closurelibrary {
	display:block;height:196px;
	background:url(/prx/000/http/webos-goodies.jp/template/imgs/books/closurelibrary.png) no-repeat top center;
}
#tpl_books .tpl_book-desc {
	white-space:pre;text-align:center;overflow:hidden;
}
#rightside .tpl_buzztitle {
	font: bold 13px Arial, Sans-Serif;
	background: #CDCDCD url(/prx/000/http/webos-goodies.jp/template/imgs/parts/greyc.gif) no-repeat top right;
	padding: 3px;
	color: #777;
}
#rightside .tpl_buzz_siteicon {
	background: url(/prx/000/http/webos-goodies.jp/template/imgs/buzzwidget/site_logo.png) no-repeat 4px 4px;
	width:48px;
	height:48px;
	float:left;
}
#rightside .tpl_follow {
	margin-left: 50px;
}
#rightside .tpl_follow_me {
	height: 16px;
	font-size: 12px;
}
#rightside .tpl_buzztitle a {
	display: block;
	height: 16px;
	padding: 2px 0px 0px 20px;
	overflow: hidden;
	white-space: pre;
	font-size: 10px;
	margin-left: 8px;
	color: #777;
}
#rightside .tpl_follow_on_buzz {
	background: url(/prx/000/http/webos-goodies.jp/template/imgs/buzzwidget/buzz.png) no-repeat top left;
}
#rightside .tpl_follow_on_facebook {
	background: url(/prx/000/http/webos-goodies.jp/template/imgs/buzzwidget/facebook.png) no-repeat top left;
}
#rightside .tpl_follow_on_gplus {
	background: url(/prx/000/http/webos-goodies.jp/template/imgs/buzzwidget/gplus.png) no-repeat top left;
}
#rightside .tpl_follow_on_twitter {
	background: url(/prx/000/http/webos-goodies.jp/template/imgs/buzzwidget/twitter.png) no-repeat top left;
}
#rightside #tpl_buzz {
	height: 400px;
	overflow: auto;
}
#rightside #tpl_buzz a.sidebody{
	font-size: 12px;
	padding: 4px 0px;
}
#rightside .tpl-buzz-date {
	font-size: 8px;
}


#rightside .tpl_activitytitle {
	font: bold 13px Arial, Sans-Serif;
	background: #CDCDCD url(/prx/000/http/webos-goodies.jp/template/imgs/parts/greyc.gif) no-repeat top right;
	padding: 3px;
	color: #777;
}
#rightside .tpl_activity_follow_me {
    margin: 4px 0 0 4px;
	font-size: 12px;
    float: left;
}
#rightside .tpl_activity_profileicon {
	background: url(/prx/000/http/webos-goodies.jp/template/imgs/activitywidget/profile.jpg) no-repeat top left;
    margin: 4px 0 0 28px;
	width:32px;
	height:32px;
    border-radius: 4px;
    box-shadow: 2px 2px 2px 0 #666;
}
#rightside .tpl_activity_profiles {
    margin: 4px 0 0 70px;
}
#rightside .tpl_activity_profiles a {
	display: block;
	height: 16px;
	padding: 2px 0px 0px 20px;
	overflow: hidden;
	white-space: pre;
	font-size: 10px;
	margin-left: 8px;
	color: #777;
}
#rightside .tpl_follow_on_facebook {
	background: url(/prx/000/http/webos-goodies.jp/template/imgs/activitywidget/facebook.png) no-repeat top left;
}
#rightside .tpl_follow_on_gplus {
	background: url(/prx/000/http/webos-goodies.jp/template/imgs/activitywidget/gplus.png) no-repeat top left;
}
#rightside .tpl_follow_on_twitter {
	background: url(/prx/000/http/webos-goodies.jp/template/imgs/activitywidget/twitter.png) no-repeat top left;
}
#rightside #tpl_activity {
	height: 400px;
	overflow: auto;
}
#rightside #tpl_activity a.sidebody{
	font-size: 12px;
	padding: 4px 0px;
}
#rightside .tpl-activity-date {
	font-size: 8px;
}

/* FOOTER -------- */
#footer {
	font: 8px Verdana, Arial, Sans-Serif;
	line-height: 21px;
	clear: both;
	background: #FFF url(/prx/000/http/webos-goodies.jp/template/imgs/parts/footer.jpg) repeat-x;
	height: 46px;
	margin-left: 8px;
	margin-right: 8px;
	color: #666;
}
#footer p  { padding: 5px }
#footer .rside { float: right; display: inline; padding: 5px; text-align: right}


/* TOP PAGE -------- */
#leftside .tpl_recent_articles p {
	padding-left: 17px;
	margin-bottom: 0.8em;
	background: #FFF url(/prx/000/http/webos-goodies.jp/template/imgs/parts/head.gif) no-repeat 0px 5px;
	font-size: 12px;
	font-weight: bold;
	line-height: 14px;
}
#leftside .tpl_recent_articles p * {
	background: white;
}


/* Image sprites */
.tpl_sprite {
	background: #fff url(/prx/000/http/webos-goodies.jp/template/imgs/sprite.png) no-repeat;
	position: relative;
	display: -moz-inline-box;
	display: inline-block;
	vertical-align:middle;
}
* html .tpl_sprite {
	display: inline;
}
*:first-child+html .tpl_sprite {
	display: inline;
}

.tpl_feed {
	width:14px;
	height:17px;
	background-position:0px;
}

.tpl_googlereader {
	width:68px;
	height:17px;
	background-position:-14px;
}

.tpl_ldreader {
	width:91px;
	height:17px;
	background-position:-82px;
}

.tpl_operawidget {
	width:80px;
	height:17px;
	background-position:-173px;
}
