/* root element for tabs  */
.tabs {
	list-style:none;
	margin:0 !important;
	padding: 0px;
	height: 32px;
	background: url(../img/tabs-divider.png) no-repeat bottom center;
}

body.home .tabs {
	padding: 0px 30px;

}

/* single tab */
ul.tabs li {
	display: block;
	float:left;
	text-indent:0;
	padding:0;
	margin: 0px 5px 0px 0px !important;
	list-style-image: none !important;

}

/* link inside the tab. uses a background image */
ul.tabs a {
	display:block;
	font-size:12px;
	height: 30px;
	line-height:30px;
	text-align:center;
	text-decoration:none;
	padding: 0px 0px 0px 10px;
	position:relative;
	top:0px;
	background:  url(../img/tabs.png) no-repeat;
}
/* link inside the tab. uses a background image */
ul.tabs a.large {
	display:block;
	font-size:16px;
	font-weight: bold;
	height: 30px;
	line-height:30px;
	text-align:center;
	text-decoration:none;
	padding: 0px 0px 0px 10px;
	position:relative;
	top:0px;
	background:  url(../img/tabs.png) no-repeat;
}

ul.tabs a span{
	display:block;
	height: 100%;
	padding-right: 10px;
	background:  url(../img/tabs.png) no-repeat right -40px;
}

#content ul.tabs a{
	color: #747474;
}

ul.tabs a:active {
	outline:none;
}

/* when mouse enters the tab move the background image */
#content ul.tabs a:hover {
	background-position: 0px -80px;
}

#content ul.tabs a:hover span,
#content ul.tabs a.current span{
	background-position: right -120px;
}

/* active tab uses a class name "current". its highlight is also done by moving the background image. */
ul.tabs a.current,
#content ul.tabs a.current:hover,
ul.tabs li.current a {
	cursor:default !important;
	color:#2a2d30 !important;
	display: block;
	background-position: 0px -80px;
}


/* initially all panes are hidden */
.panes .pane {
	display:none;
}

.panes>div {
    /*display: none;*/
    min-height: 200px;
	/*border-bottom: 1px solid #c4c7c8;*/

}
.panes h6 {
    /*display: none;*/
    margin-top: 20px;
	/*border-bottom: 1px solid #c4c7c8;*/

}

/* HOME TABS THUMBS ---------------------------------------------------------*/

.panes .blocks-thumbs{
	overflow: hidden;
	padding-top: 30px;
	margin-left: 0px !important;
}

.panes .blocks-thumbs li{
	display: block;
	display: table-cell
	overflow: hidden;
	float: left;
	width: 282px;
	margin: 0px 0px 20px 0px;
	background: url(../img/shadow-1-3.png) no-repeat 0px 150px;
	padding-bottom: 10px;
}

.panes .blocks-thumbs li:nth-child(3n-1){
	margin: 0px 20px 20px 20px;
}

.panes .blocks-thumbs li.thumbs2{
	display: block;
	display: table-cell
	overflow: hidden;
	float: left;
	width: 282px;
	margin: 0px 0px 20px 20px;
	background: url(../img/shadow-1-3.png) no-repeat 0px 100px;
	padding-bottom: 10px;
}

.panes .blocks-thumbs .centeralign{
	text-align: center;
}

.panes .blocks-thumbs li .excerpt{
	line-height: 1.5em;
	margin-bottom: 20px;
}
.panes .hline{
	width: 906px;
	margin-left: 30px;
	border-top: 1px solid #777777;
	border-bottom: 1px solid #ffffff;
	border-left: 2px solid #999999;
	border-right: 2px solid #eeeeee;
	height: 8px;
	background: #898989; /* Old browsers */
	background: -moz-linear-gradient(top,  #898989 0%, #d8d8d8 16%, #d8d8d8 80%, #ffffff 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#898989), color-stop(16%,#d8d8d8), color-stop(80%,#d8d8d8), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #898989 0%,#d8d8d8 16%,#d8d8d8 80%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #898989 0%,#d8d8d8 16%,#d8d8d8 80%,#ffffff 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #898989 0%,#d8d8d8 16%,#d8d8d8 80%,#ffffff 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #898989 0%,#d8d8d8 16%,#d8d8d8 80%,#ffffff 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#898989', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
		border-radius: 1px 1px 1px 1px;*/
}

#content .panes .blocks-thumbs li .header{
	display: block;
	font-family:  "Meiryo","メイリオ", 'Lucida Grande', Verdana,"MS PGothic","MS Pゴシック",Arial, Helvetica, Osaka, sans-serif;
	font-size: 20px;
	line-height: 1.4em;
	margin-bottom: 10px;
	text-decoration: none;
	color: #2f3235;
	/*border-bottom: 1px solid #c4c7c8;*/
	padding-bottom: 0px;
}


/*matslab*/
#content .panes .blocks-thumbs li .header:hover{
	opacity: 0.5;
}

.panes .blocks-thumbs li a.thumb{
	display: block;
	overflow: hidden;
	width: 282px;
	height: 150px;
	margin-bottom: 20px;
	background: url(../img/plus-sign.png) no-repeat center center;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
.panes .blocks-thumbs li a.thumb2{
	display: block;
	overflow: hidden;
	width: 282px;
	height: 100px;
	margin-bottom: 20px;
	background: url(../img/plus-sign.png) no-repeat center center;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}



.panes .blocks-thumbs li img{
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}


.panes .blocks-thumbs li .excerpt div.title{
	font-size: 12px;
	font-style: italic;
	line-height: 1.2em;
}

.panes .blocks-thumbs li .excerpt div.email{
	font-size: 12px;
	line-height: 1.2em;
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #c4c7c8;
}

/* HOME TABS GALLERY ---------------------------------------------------------*/

.panes{
	margin-top: 30px;
}

body.home .panes{
	margin-top: 0px;
	padding: 0px 30px;
}

.panes .plain-text{
	padding: 30px 0px;
	line-height: 1.5em;
}
.panes .plain-text2{
	padding: 30px 0px 0px;
	line-height: 1.5em;
}
.panes .plain-text3{
	padding: 0px 0px 30px;
	line-height: 1.5em;
}

.panes .plain-text h1,
.panes .plain-text h2,
.panes .plain-text h3,
.panes .plain-text h4,
.panes .plain-text h5,
.panes .plain-text h6 {
	margin-bottom: 20px;
}

.panes .plain-text a{
	text-decoration: none;
}
