body {
	background: rgb(197,204,211) url(chrome://livemargins/skin/images/stripes.png);
	font: 12px/1.5 Helvetica, Tahoma, Arial, sans-serif;
	padding: 0;
	margin: 0 0 0 0;
	color: black;
}

#detail-browser {
	width: 100%;
	height: 100%;
	display: none;
}

#detail-browser > iframe {
	width: 100%; 
	height: 80%; 
	border: none; 
	border-bottom: 1px solid rgb(46,55,68);
	max-height: 500px;	
}

#detail-header {
	background: rgb(109,133,163) url(chrome://livemargins/skin/images/bgHeader.png) repeat-x top;
	border-top: 1px solid rgb(205,213,223);
	border-bottom: 1px solid rgb(46,55,68);
	padding: 0;
	margin: 0 0 0 0;
	height: 38px;
}

#detail-header > h1 {
	color: #fff;
	font-size: 13px;
	text-shadow: #2d3642 0 -1px 0;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	width: 49%;
	padding: 9px 0;
	margin: 2px 0 0 -24%;
	position: absolute;
	top: 0;
	left: 50%;
}
	
#detail-header > a {
	color: #FFF;
	font-weight: bold;
	background: none;
	border-width: 0 5px;
	margin: 2px 0 0 0;
	padding: 3px 3px 1px 3px;
	width: auto;
	height: 20px;
	text-shadow: rgb(46,55,68) 0 -1px 0;
	text-decoration: none;
	white-space: nowrap;
	position: absolute;
	overflow: hidden;
	top: 7px;
	right: 6px;
	-moz-border-image: url(chrome://livemargins/skin/images/toolButton.png) 0 5 0 5;
}

#detail-header > #backButton {
	left: 6px;
	right: auto;
	max-width: 55px;
	border-width: 0 8px 0 14px;
	-moz-border-image: url(chrome://livemargins/skin/images/backButton.png) 0 8 0 14;
}
	
#content > div {
	border: 1px solid rgb(180, 180, 180);
	-moz-border-radius:	8px;
	background-color: white;
	margin: 10px 5px 8px 5px;
	padding: 0px 0px 5px 0px;
}

#loading {
	z-index: 1978;
	position: absolute; 
	top: 35%; 
	left: 38%;
	width: 73px; 
	height: 73px;
	background: url(chrome://livemargins/skin/images/loading.gif) no-repeat 50% 50% rgb(244, 251, 254);
	border: 1px solid black;
	-moz-border-radius: 8px;
}

div.container-header {
	background-color: rgb(147,165,184);
	height: 24px;
	margin: 0;
	padding: 0;
	-moz-border-radius-topleft: 7px;
	-moz-border-radius-topright: 7px;
}

div.ch-active-section {
	-moz-border-radius-topleft: 8px;
	width: 36px;
	height: 100%;
	float: left;
}

div.ch-active-title {
	background: transparent;
	height: 100%;
	float: left;
	padding-left: 5px;
	padding-top: 3px;
	color: white;
	font-weight: bold;
}

div.ch-active-title > a {
	text-decoration: none;
	color: white;
}

div.ch-inactive-section {
	background: transparent;
	height: 100%;
	float: right;
	margin: 4px 10px 4px 5px;
}

div.ch-inactive-section img {
	max-height: 16px;
	max-width: 16px;	
}

/* Config Message */
#config-message {
    -moz-box-shadow: 1px 1px 10px #E7EAB6;
	background-color: #E7EAB6 !important;
	-moz-border-radius: 0px !important;
	padding: 5px !important;
}
#config-button {
    float: right; 
    margin: 15px 20px 10px 0; 
    background-color: #1A6A96; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.25); 
    -moz-border-radius: 5px; 
    color: #FFF; 
    text-decoration: none; 
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5); 
    text-shadow: 0 -1px 1px rgba(0,0,0,0.25); 
    padding: 3px; 
    width: 120px; 
    text-align: center;
}

/** ads **/
#ads-container {
	-moz-box-shadow: 1px 1px 10px #00f;
	background-color: rgb(203,210,225) !important;
	-moz-border-radius: 0px !important;
	padding: 0px !important;
	margin-right: 12px !important;
	font-weight: bold;
}

/** Guide Template **/
div#guide-content {
	margin: 0px 5px 0px 5px;
}

div#guide-content a {
	color: black;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	padding-bottom: 3px;
}

div#guide-content > div.guide-method {
	border: 2px solid rgb(180, 180, 180); 
	-moz-border-radius: 8px; 
	padding: 5px; 
	margin: 5px 0 5px 0;
}

div#guide-content > div#hotkeywords {
	height: auto;
}

div#guide-content > div#hotkeywords a {
	color: #0082CB;
}

div#guide-content > div#hotkeywords span.rank4 { font-size: 13px; }
div#guide-content > div#hotkeywords span.rank5 { font-size: 14px; }
div#guide-content > div#hotkeywords span.rank6 { font-size: 14px; font-weight: bold; }

/** Search Engines Template **/
div.engines-section {
	background: white url(chrome://livemargins/skin/images/search.png) 50% 50% no-repeat;	
}

div#engines-content {
	margin: 0px 5px 0px 5px;
}

div#engines-content > div {
	border-top: 1px solid rgb(180, 180, 180);
	padding: 7px 5px 5px 5px;
	height: 20px;
}
	
div#engines-content > div.info {
	border: 1px dashed rgb(180, 180, 180);
	font-size: 11px;
	background: yellow;
	padding: 7px 5px 5px 5px;
	height: 14px;
	color: grey;
	display: none;
}

div#engines-content > div.current {
	border: 0;
}

div#engines-content a {
	color: black;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	padding-bottom: 3px;
}

div#engines-content img {
	border: none;
	float: left; 
	margin-right: 5px;
	margin-bottom: 3px;
	display: block;
}

div#engines-content > div#engines-detail-results {
	height: auto;
}

div#engines-content > div#engines-detail-results >  div {
	margin: 0; 
	padding: 5px;
}
div#engines-content > div#engines-detail-results >  div.highlight {
	background-color: #EFF5FC;
}

div#engines-content > div#engines-detail-results h2 {
	font-size: 12px; 
	color: black;
	margin: 0; 
	overflow: hidden; 
	display: block;
}

div#engines-content > div#engines-detail-results p {
	font-size: 12px; 
	color: rgb(50, 50, 50);
	margin: 0;
}

div#engines-content > div#hotkeywords {
	height: auto;
	display: none;
}

div#engines-content > div#hotkeywords .hotwords-info {
	border: 1px dashed rgb(180, 180, 180);
	font-size: 11px;
	background: yellow;
	padding: 7px 5px 5px 5px;
	height: 14px;
	color: grey;
}

div#engines-content > div#hotkeywords a {
	color: #0082CB;
}

div#engines-content > div#hotkeywords span.rank4 { font-size: 13px; }
div#engines-content > div#hotkeywords span.rank5 { font-size: 14px; }
div#engines-content > div#hotkeywords span.rank6 { font-size: 14px; font-weight: bold; }

/** wikipedia ***/
div.wikipedia-section {
	background: white url(http://en.wikipedia.org/favicon.ico) 50% 50% no-repeat;	
}

div.wikipedia-item {
	border-bottom: 1px solid rgb(180, 180, 180);
	padding: 5px 13px 5px 5px;
	background: url(chrome://livemargins/skin/images/chevron.png) 100% 50% no-repeat;
}

div.wikipedia-item:last-child {
	border-bottom: 0px;
}

div.wikipedia-item > a.a-title {
	width: 95%;
	color: black;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	font-weight: bold;
	display: block;
	padding-bottom: 3px;
}

div.wikipedia-item > a.a-description {
	width: 96%;
	color: black;
	text-decoration: none;
	font-size: 11px;
	display: block;
}

/*** hudong baike **/
div.hudong-section {
	background: white url(chrome://livemargins/skin/images/hudong.png) 50% 50% no-repeat;
}

div#hudong-content {
	margin: 3px 5px 5px 5px;
}

div#hudong-content > h2 {
	font-size: 12px;
	font-weight: bold;
	margin: 0;
	padding: 0;
}

div#hudong-content > p {
	margin-top: 5px;
}

/*** baidu **/
div.baidu-section {
	background: white url(http://www.baidu.com/favicon.ico) 50% 50% no-repeat;
}

div#baidubaike-content {
	margin: 3px 5px 5px 5px;
}

div#baidubaike-content > h2 {
	font-size: 12px;
	font-weight: bold;
	margin: 0;
	padding: 0;
}

div#baidubaike-content > p {
	margin-top: 5px;
	overflow: hidden;
}

/*** youdao.com ***/
div.dict-section {
	background: white url(http://shared.youdao.com/images/favicon.ico) 50% 50% no-repeat;
}

div#dict-content {
	margin: 3px 5px 5px 5px;
	color: #333333;
}

div#dict-content > h2 {
	float:left;
	font-size: 12px; 
	font-weight: bold; 
	margin: 0; 
	padding: 0;
	color: black;
}

div#dict-content > .dict-pron {
	float:left;
	margin-left: 10px; 
	color: #996699;
}

/*** flickr ***/
div.flickr-section {
	background: white url(http://www.flickr.com/favicon.ico) 50% 50% no-repeat;
}

#flickr-content {
	margin: 3px 5px 5px 5px;
}

#flickr-content >a > img {
	border: 1px solid rgb(192, 213, 221); 
	float: left; 
	margin-left: 3px; 
	margin-bottom: 3px; 
	width: 21%;
	max-width: 75px;
	max-height: 75px;
}

/*** Taobao ***/
div.taobao-section {
	background: white url(http://www.taobao.com/favicon.ico) 50% 50% no-repeat;
}

#taobaoimgo-content {
	margin: 3px 5px 5px 5px;
}

#taobaoimgo-content >a > div {
	border: 1px solid rgb(192, 213, 221); 
	float: left; 
	margin-left: 3px; 
	margin-bottom: 3px; 
	width: 21%;
	max-width: 75px;
	max-height: 75px;
}

/*** Google***/
div.google-section {
	background: white url(http://www.google.com/favicon.ico) 50% 50% no-repeat;
}

#googleimage-content {
	margin: 3px 5px 5px 5px;
}

#googleimage-content >a > div {
	border: 1px solid rgb(192, 213, 221); 
	float: left; 
	margin-left: 3px; 
	margin-bottom: 3px; 
	width: 21%;
	max-width: 75px;
	max-height: 75px;
	overflow: hidden;
}

div.googlenews-section {
	background: white url(http://www.gstatic.cn/news/img/favicon.ico) 50% 50% no-repeat;
}

div.googlenews-item {
	border-bottom: 1px solid rgb(180, 180, 180);
	padding: 7px 5px 5px 5px;
}

div.googlenews-item:last-child {
	border-bottom: 0px;
}

div.googlenews-item > a {
	width: 95%;
	color: black;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	display: block;
	padding-bottom: 3px;
}
/*
div.googlevideo-item {
	float: left; 
	width: 47%; 
	max-width: 125px; 
	margin-left: 3px; 
	margin-right: 3px;
	margin-bottom: 3px;
}

div.googlevideo-item >a >img {
	border: 1px solid rgb(192, 213, 221); 
	height: 90px; 
	width: 100%;
}

div.googlevideo-item > div {
	overflow: hidden; 
	width: 100%; 
	height: 18px; 
	text-align: center; 
	margin-left: 2px; 
	margin-right: 2px;
} */

div.googletrans-item {
	border-bottom: 1px solid rgb(180, 180, 180);
	padding: 7px 5px 5px 5px;
	color: #333333;
}

div.googletrans-item > span {
	float: left;
	padding-left: 5px; 
	padding-right: 5px; 
	margin-right: 5px;
	color: black; 
	background: rgb(209, 234, 249); 
	text-align: center;
}

div#googletrans-content > select {
	margin: 7px 5px 3px 5px; 
	width: 45%; 
	max-width: 160px;
}

div#googletrans-content a.googletrans-button {
	text-decoration: none; 
	display: inline;
	background: rgb(255, 244, 167);
	border: 1px solid rgb(236, 193, 1); 
	-moz-border-radius: 3px;
	-moz-box-shadow: 1px 1px 0 rgba(0, 0, 0, .3); 
	width: auto;
	padding: 3px;
}

/*** Stock ***/
div.stock-section {
	background: white url(http://www.sina.com.cn/favicon.ico) 50% 50% no-repeat;
}

div.stock-item {
	border-bottom: 1px solid rgb(180, 180, 180);
	padding: 7px 5px 5px 7px;
	height: 18px;
}

div.stock-item:last-child {
	border-bottom: 0px;
}

div.stock-item a {
	color: black;
	text-decoration: none;
}

div.stock-item div.stock-name {
	float: left; 
	width: 28%; 
}

div.stock-item div.stock-curr-value,
div.stock-item div.stock-diff,
div.stock-item div.stock-percentage {
	float: left; 
	width: 21%; 
	text-align: right;
}

div.stock-up { color: red; }
div.stock-down { color: green; }

/*** Tudou ***/
div.tudou-section {
	background: white url(http://www.tudou.com/favicon.ico) 50% 50% no-repeat;
}

/*** Youku ***/
div.youku-section {
	background: white url(http://www.youku.com/favicon.ico) 50% 50% no-repeat;
}

div.video-item {
	float: left; 
	width: 47%; 
	max-width: 125px; 
	margin-left: 3px; 
	margin-right: 3px;
	margin-bottom: 3px;
}

div.video-item >a >img {
	border: 1px solid rgb(192, 213, 221); 
	height: 90px; 
	width: 100%;
}

div.video-item > div {
	overflow: hidden; 
	width: 100%; 
	height: 18px; 
	text-align: center; 
	margin-left: 2px; 
	margin-right: 2px;
}

/*** verycd **/
div.verycd-section {
	background: white url(http://www.verycd.com/favicon.ico) 50% 50% no-repeat;
}

div#verycd-content {
	margin: 3px 0 0 0;
}

div.verycd-item {
	border-bottom: 1px solid rgb(180, 180, 180);
	padding: 7px 10px 5px 5px;
}

div.verycd-item:last-child {
	border-bottom: 0px;
}

div.verycd-item > h2 {
	font-size: 12px;
	font-weight: bold;
	margin: 0;
	padding: 0;
	overflow: hidden; 
	white-space: nowrap;
}

div.verycd-item > p {
	margin-top: 5px;
}

/*** local information ***/
div.local-section {
	background: white url(http://aibang.com/favicon.ico) 50% 50% no-repeat;
}

div#local-content {
	margin: 0px 5px 0px 5px;
}

div#local-content a {
	color: black;
	text-decoration: underline;
	white-space: nowrap;
	overflow: hidden;
	padding-bottom: 3px;
}

div#local-content > div {
	border-bottom: 1px solid rgb(180, 180, 180);
	padding: 5px 5px 5px 5px;
	height: auto;
}

div#local-content > div:last-child {
	border-bottom: 0px;
}

div#local-content  h2 {
	font-size: 12px; 
	color: black;
	margin: 0; 
	overflow: hidden; 
	display: block;
}

div#local-content p {
	font-size: 12px; 
	color: rgb(50, 50, 50);
	margin: 0;
}

/*** bettykitchen **/
div.bettykitchen-section {
	background: white url(chrome://livemargins/skin/images/bettykitchen.png) 50% 50% no-repeat;
}

div#bettykitchen-content {
	margin: 3px 0 0 0;
}

div.bettykitchen-recipe {
	border-bottom: 1px solid rgb(180, 180, 180);
	padding: 7px 10px 5px 5px;
}

div.bettykitchen-recipe:last-child {
	border-bottom: 0px;
}

div.bettykitchen-recipe > h2 {
	font-size: 12px;
	font-weight: bold;
	margin: 0;
	padding: 0;
}

div.bettykitchen-recipe > p {
	margin-top: 5px;
}

/*** Youdao Gouwu ***/
div.youdao-section {
	background: white url(http://shared.youdao.com/images/favicon.ico) 50% 50% no-repeat;
}

div#youdao-gouwu-content {
	margin-left: 5px;
}

div#youdao-gouwu-content > img{
	float: left; 
	width: 16%; 
	max-width: 45px; 
	max-height: 45px;
	min-height: 20px;
	cursor: pointer; 
	border: 1px solid rgb(192, 213, 221); 
	margin: 3px 3px 3px 3px;
}

/*** 360 Buy ***/
div.buy360-section {
	background: white url(http://www.360buy.com/favicon.ico) 50% 50% no-repeat;
}

div#buy360-content > img{
	float: left; 
	width: 16%; 
	max-width: 75px; 
	cursor: pointer; 
	border: 1px solid rgb(192, 213, 221); 
	margin: 3px 3px 3px 3px;
}

img.marketplace-image {
	float: left; 
	width: 45px; 
	margin-right: 5px;
	margin-bottom: 5px;
}

h2.marketplace-title {
	font-size: 12px; 
	font-weight: bold; 
	margin: 0 10px 0 0; 
	padding: 0; 
	overflow: hidden; 
	white-space: nowrap;
}

div.marketplace-buybutton {
	float: left; 
	width: 40px; 
	margin: 0px 5px 3px 5px;
	text-align: center; 
	background: rgb(255, 244, 167); 
	border: 1px solid rgb(236, 193, 1); 
	-moz-border-radius: 3px;
	-moz-box-shadow: 1px 1px 0 rgba(0, 0, 0, .3);
}

div.marketplace-myprice {
	float: left; 
	padding-left: 5px; 
	padding-right: 5px; 
	margin-right: 5px; 
	border: 1px solid rgb(166, 208, 231); 
	background: rgb(209, 234, 249);
}

div.marketplace-commonprice {
	float: left; 
	padding-left: 5px; 
	padding-right: 5px; 
	border: 1px solid rgb(219, 219, 219); 
	background: rgb(250, 250, 250);
	text-decoration: line-through;
}

/*** douban **/
div.douban-section {
	background: white url(http://www.douban.com/favicon.ico) 50% 50% no-repeat;
}

div#douban-content {
	margin: 3px 0 0 0;
}

div.douban-item {
	border-bottom: 1px solid rgb(180, 180, 180);
	padding: 7px 5px 5px 5px;
}

div.douban-item:last-child {
	cursor: pointer;
	border-bottom: 0px;
}

div.douban-item > h2 {
	font-size: 12px;
	font-weight: bold;
	margin: 0 8px 0 0;
	padding: 0;
	overflow: hidden; 
	white-space: nowrap;
}

div.douban-item > p {
	margin-top: 5px;
	margin-right: 8px;
}
