#main {
	background-repeat: repeat-x;
	background-position: left top;
	background-image: url(../images/h2_bg.jpg);
	background-repeat: repeat-x;
	background-position: left top;
}

#main-content {
	position: relative;
	clear: both;
	padding: 40px 35px;
	min-height: 412px;
	zoom:1;
}

#main-header {
	width: 100%;
	height: 102px;

	position: relative;
	
}

#main h2 {
	position: absolute;
	font-size: 160%;
	color: #fff;
	padding: 0;
	margin: 40px 0 0 30px;
	line-height: 1;
	word-spacing: -4px;
}

#main h2 a {
	color: #fff;
	text-decoration: none;
}

#main-content p {
	margin: 0 0 1em 0;
	font-size: 81.25%;
	line-height: 1.6;
}

h3 {
	margin: 0;
}

#main-content ul {
	margin: 1em 0;
	padding: 0 0 0 1.5em;
	font-size: 81.25%;
	line-height: 1.6;
}

.uc {
	color:#ccc;
}

/* qTranslate Override
--------------------------------------------------*/

ul#lang {
	position: absolute;
	display: block;
	top:-1px;
	right:25px;
	padding: 0 0 0 0;
	margin: 0;
	list-style-type:none;
	z-index: 10;

}

ul#lang li {
	display: inline;
	margin: 0 10px 0 5px;
	padding: 6px 0 0 0;
	font-size: 82.5%;
	line-height: 1.2;
	position: relative;
	float:left;

}


ul#lang li a {
	margin: 0px 0 0 0;
	padding:0 0 0 18px;
	background-repeat: no-repeat;
	display: inline-block;
}

ul#lang li.ja a {
	background-image: url(../images/flag_ja.gif) !important;
	background-position: 0px -13px;
	
}

ul#lang li.en a {
	background-image: url(../images/flag_en.gif) !important;
	background-position: 0px -13px;
}

#wrapper.ja ul#lang li.ja,
#wrapper.en ul#lang li.en {
	background-image: url(../images/qtrans_active_bg.gif);
	background-repeat: no-repeat;
	background-position: 1px 0px;
	z-index: 100;
}


ul#lang li a {
	color:#7d7a6a;
}

ul#lang li a:hover {
	color:#530a11;
	text-decoration: none;
}

#wrapper.ja ul#lang li.ja a,
#wrapper.en ul#lang li.en a {
	background-position: 0px 0px;
}

#wrapper.ja ul#lang li.ja a span,
#wrapper.en ul#lang li.en a span {
	color: #810519;
}

#wrapper.ja ul#lang li.ja a:hover,
#wrapper.en ul#lang li.en a:hover {
	text-decoration: none;
	cursor: default;
}

/* Search Form
--------------------------------------------------*/


#main-search {
	color:#fff;
	position: relative;
}

#main-search form {
	position: relative;
	margin:0;
	display: block;
	float: right;
	right:0px;
	top:12px;
	width: 620px;
	zoom:1;
}

#main-search .main {
	padding: 0;
	margin-bottom: 8px;
	position: relative;
	zoom:1;
}

#main-search select {
	vertical-align: middle;
	width: 145px;
}

#main-search .sub {
	background-image: url(../images/form_hr.gif);
	background-repeat: no-repeat;
	padding: 9px 0 3px 0;
	margin: 0 -10px 0 0px;
	position: relative;
	
}

#main-search p {
	font-size: 75%;
	line-height: 1;
	margin: 0 0 0 0;
}

#main-search .sub p {
	float: left;
	margin-right: 10px;
}

#main-search .sub select {
	margin: 3px 0 0 0;
	padding: 0;
	font-size: 100%;
	
}
#main-search p.keyword {
	float:left;
	position: relative;
}


#main-search input.keyword {
	border: 0;
	width: 324px;
	height: 18px;
	padding: 2px 20px 2px 2px;
	background-color: #fff;
	border:solid 1px #500;
	margin: 0px 10px 0 0px;
	line-height: 1.3;
	font-size: 108%;
	vertical-align: middle;

}


#tips {
	position: absolute;
	top:5px;
	left:329px;
	z-index: 10;
}

* html #tips {
	top: 6px;
}

*:first-child+html #tips {
	top: 6px;
}

#tips br {
	display: none;
}

#tips-trigger {
	position: absolute;
	display: block;
	width: 14px;
	height: 14px;
	top:0;
	left: 0;
	overflow: hidden;
	background-image: url(../images/tips_trigger.gif);
	background-position: top left;
	background-repeat: no-repeat;
	cursor: text;
}



#tips-bal {
	position: absolute;
	display: none;
	top: -5.1em;

	background: #fff;
	border: solid 1px #b6868a;
	width: 250px;
	color: #730a11;
	margin-left: -120px;
	zoom: 1;
}

#tips-bal em {
	display: block;
	position: relative;
	bottom: -7px;
	padding: 0px 5px 12px 5px;
	font-size: 11px;
	font-style: normal;
	line-height: 1.2;
	background-image: url(../images/tips_bal.gif);
	background-position: bottom center;
	background-repeat: no-repeat;
	
}

#main-search p.submit {
	float:right;
}

#main-search input.submit {
	border:solid 1px #550000;
	background-image: url(../images/form_submit.gif);
	background-position: left top;
	background-repeat: repeat;
	color:#fee;
	width: 95px;
	height: 25px;
	font-weight: bold;
	margin: 0 10px 0 5px;
	padding: 0;
	cursor: pointer;
	vertical-align: middle;
	font-size: 100%;
	overflow: hidden;
	padding-bottom: 2px;
	background-color: #550000;

}




/* Results
-------------------------------------------- */

p.noitem {
	margin: 1em 0 2em 0 !important;
}

p.caption {
	font-size: 65% !important;
	text-align: right;
}

p.caption.index {
	margin-top: -1em !important;
}

p.caption.view {
	float:right;
	width: 50%;
	margin: 0 !important;
}


table.result {
	width: 100%;
	margin: 0 0 1em 0;
	position: relative;
	font-size: 81.25%;
}

table.result.index {
	margin: 0 0 2em 0;
}

table.result th,
table.result td {
	padding: 6px 4px 6px 6px;
	vertical-align: top;
	line-height: 1.6;
	border-bottom: solid 1px #ddd;
}

table.result th {
	white-space: nowrap;
	text-align: left;
	font-size: 85%;
}

table.result th a {
	display: block;
	color: #730a11;
	padding-right: 12px;
}


table.result.pid th.pid,
table.result.inst th.inst,
table.result.size th.size,
table.result.maker th.maker,
table.result.name th.name,
table.result.category th.category,
table.result.place th.place,
table.result.year th.year,
table.result.price th.price {
	background-image: url(../images/th_active.gif);
	background-repeat: repeat-x;
	background-position: 0 bottom;
	
}


table.result.pid th.pid a,
table.result.inst th.inst a,
table.result.size th.size a,
table.result.maker th.maker a,
table.result.name th.name a,
table.result.category th.category a,
table.result.place th.place a,
table.result.year th.year a,
table.result.price th.price a {
	background-image: url(../images/desc.gif);
	background-repeat: no-repeat;
	background-position: right 40%;
	color: #730a11;

}

table.result.pid.asc th.pid a,
table.result.inst.asc th.inst a,
table.result.size.asc th.size a,
table.result.maker.asc th.maker a,
table.result.name.asc th.name a,
table.result.category.asc th.category a,
table.result.place.asc th.place a,
table.result.year.asc th.year a,
table.result.price.asc th.price a {
	background-image: url(../images/asc.gif);
}


table.result tr.hover {
	background-image: url(../images/tr_hover.gif);
}

table.result tr.hover td {
	cursor: pointer;
}

table.result tr.hover td {
	color: #08568c;
	text-decoration: underline;
	
}

table.result tr.sold td.pid,
table.result tr.sold td.cid,
table.result tr.sold td.inst,
table.result tr.sold td.size,
table.result tr.sold td.maker,
table.result tr.sold td.name,
table.result tr.sold td.category a,
table.result tr.sold td.place,
table.result tr.sold td.year,
table.result tr.sold td.price {
	text-decoration: line-through;
}


table.result td {
	color: #433f27;
	height: 2.8em;
}

table.result td.pid,
table.result td.inst,
table.result td.size,
table.result td.year {
	width: 1%;
}

table.result td.pid,
table.result td.category,
table.result td.price {
	font-weight: bold;
}


table.result td.edit,
table.result td.price  {
	width: 10%;
}

table.result td.inst {
	white-space: nowrap;
}

table.result td.name,
table.result td.category {
	width: 20%;
}

table.result td.category a,
table.result td.category span {
	display: block;
}

table.result td.category img {
	vertical-align: top;
	margin-right: 3px;
	
}

table.result tr.hover td.category {
	text-decoration: none;

}

table.result tr.hover td.category a {
	text-decoration: underline;
}

table.result td.size,
table.result td.year,
table.result td.price {
	text-align: right;

}

table.result td.photo {
	text-align: center;
}
table.result.admin td {
	height:100px;
}

p.pagenavi {
	margin: 1em 0 0 0 !important;
}

p.pagenavi .page{
	display: block;
	float: left;
	width: 49%;
}

p.pagenavi .navi{
	display: block;
	float: right;
	width: 49%;
	text-align: right;
}

/* Index
-------------------------------------------- */

h3 {
	color: #730a11;
	border-bottom: solid 2px #730a11;
	margin: 0;
	font-size: 100%;
}

span.rcm {
	width: 100px;
	min-height: 42px;
	display: block;
	background-color: #fff;
	position: relative;
	zoom: 1;
}

span.rcm .bnr {
	position: absolute;
	z-index: 10;
	top:0px;
	left: 0px;
	text-indent: -9999px;
	overflow: hidden;
	
	width: 42px;
	height: 42px;
	background-image: url(../images/rcm.gif);
}

/* View
-------------------------------------------- */

#specs-main {
	padding: 0px 10px 10px 10px;
	border-bottom: solid 2px #730a11;
	margin-bottom: 10px;
}
#specs {
	width: 330px;
	float: left;

}

#specs-header {

	padding-bottom: 6px;

	border-bottom: solid 2px #730a11;
	margin: 0 0 1em 0;
}


#specs-header h3 {
	float:left;
	color: #730a11;
	font-size: 130%;
	margin: 0;
	line-height: 1;
	width: 70%;
	border: 0;

}

#specs-header.sold h3 span.thuru {
	text-decoration: line-through;
}


#specs-header h3 .pid {
	background-color: #730a11;
	padding: 3px 4px 2px 4px;
	color: #fff;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;


	text-align: center;
}

#specs-header h3 .inst {
	font-size: 16px;
	color: #444;


}

#specs-header h3 img {
	font-size: 14px;

	margin-left: 4px;


}

#specs-header p {
	width: 29%;
	float:right;
	margin: 0.25em 0 0 0;
	line-height: 1;
	text-align: right;
	font-size: 68.75%;
}

#specs-footer p.referrer {
	width: 30%;
	text-align: left;
	float: left;
	font-size: 81.25%;
	margin: 0 !important;
	padding: 0;
}

#specs-footer p.enter {
	width: 40%;
	float: right;
	text-align: right;
}

#specs-header p a,
#specs-footer p a {
	color: #730a11;
	font-weight: bold;
}

#specs-header p a.btn {
	border: solid 1px #3b0909;
	line-height: 1;
	white-space: nowrap;
	text-align: center;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: bold;
	color: #e6d6d6;
	background-color: #6a0606;
	background-image: url(../images/form_submit.gif);
	background-position:center center;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	padding: 3px 3px;
	display: inline-block;
}

#specs-header p a.btn:hover {
	text-decoration: none;
}

#specs dl {
	font-size: 75%;
	clear:both;
	margin: 0 0 1em 0;
	width: 100% !important;

}



#specs dl.bb {
	padding: 0 0 1em 0;
	margin: 0 0 1em 0;
	border-bottom: solid 1px #b6868a;
}

#specs dl.overview {
	font-size: 87.5%;
}


#specs dt {
	display: block;
	clear:both;
	width: 130px !important;
	float:left;
	line-height: 1.6;
	font-weight: bold;

}



#specs dd {
	display: block;
	float:left;
	margin: 0 0 0 5px;
	width: 194px !important;

}

*:first-child+html #specs dd {
	float:none;
}

#photos {
	width: 555px;
	float:right;
	padding: 0;

}

#photos p {
	margin: 0;
	
}

#photo-main {
	float:right;
	padding-right: 20px;
}

#photo-sub {
	width: 106px;
	float: right;
}

a#mainphoto,
span#mainphoto {
	width: 420px;
	height: 420px;
	text-align: center;
	/*border: solid 1px #eee;*/
	margin: 0 0 0 0;
	display: block;
	position: relative;

}


a#mainphoto.busy {
	background-image: url(../images/ajax-loader.gif);
	background-position: center center;
	background-repeat: no-repeat;
}

a#mainphoto .zoom {
	position: absolute;
	top:0;
	right:0;
	background-image: url(../images/icon_zoom.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 17px;
	line-height: 16px;
	z-index: 1000;
	font-size: 90%;
}
a.thumb {
	display: block;
	float: left;
	width: 100px;
	height: 100px;
	text-align: center;
	border: solid 1px #fff;
	margin-right: 3px;
	padding: 2px;
	cursor: pointer;
	position: relative;
	zoom: 1;
	outline: 0;
}

a.thumb:hover {
	text-decoration: none;
}

a.thumb.selected {
	border-color: #b6868a;
	cursor: default;
}

a.thumb.selected span.bal {
	position: absolute;
	display: block;
	top: 44px;
	left:-7px;
	width: 7px;
	height: 13px;
	overflow: hidden;
	background-image: url(../images/view_bal.gif);
	background-position: 0 0;
	background-position: left top;
}
.detail_toggle h4 {
	font-size: 81.25%;
	padding: 1em 0 0 0;
	margin: 0 0 1em 0;
	line-height: 1;
	border-top: solid 1px #b6868a;
}


.detail_toggle h4 .toggle {
	cursor: pointer;
	color: #730a11;
	text-decoration: none;
	line-height: 1;
	padding-left: 11px;
	background-image:url(../images/collapse.gif);
	background-position: 0 0;
	background-repeat: no-repeat;
}

*:first-child+html .detail_toggle h4 .toggle {
	background-position: 0 2px;
}

head~/* */body .detail_toggle h4 .toggle { background-position: 0 2px;} /* ie8 */
html:not(:target) .detail_toggle h4 .toggle { background-position: 0 0; } /* not ie6,7,8 */


.detail_toggle h4 .toggle.opened {
	background-position: 0 -13px;
}

*:first-child+html .detail_toggle h4 .toggle.opened {
	background-position: 0 -11px;
}

head~/* */body .detail_toggle h4 .toggle.opened { background-position: 0 -11px;} /* ie8 */
html:not(:target) .detail_toggle h4 .toggle.opened { background-position: 0 -13px; } /* not ie6,7,8 */


.detail_toggle h4 .toggle:hover {
	text-decoration: underline;
}


#detail_content {
	display: none;
}

#detail_content p {
	margin: 0 0 1em 0;
}

