#tab1:checked ~ .content1,#tab2:checked ~ .content2,#tab3:checked ~ .content3,#tab4:checked ~ .content4,#tab5:checked ~ .content5,#tab6:checked ~ .content6,#tab7:checked ~ .content7,#tab8:checked ~ .content8{
	background: #735220;
	display: block;
}
.content1,.content2,.content3,.content4,.content5,.content6,.content7,.content8{
	display: none;
	clear: both;
	border: 1px solid #797979;
	background: #fff !important;
	clear: both;
	z-index: 444;
	padding: 5px;
	width: 100%;
}
#tab1:checked ~ #label1,#tab2:checked ~ #label2,#tab3:checked ~ #label3,#tab4:checked ~ #label4,#tab5:checked ~ #label5,#tab6:checked ~ #label6,#tab7:checked ~ #label7,#tab8:checked ~ #label8{
	border: 1px solid #797979;
	border-top:3px solid #728D7B;
	border-bottom:1px solid transparent;
}
#label1,#label2,#label3,#label4,#label5,#label6,#label7,#label8{
	display: block;
	width: 90px;
	float: left;
	background: #F4F4F4;
	padding:10px 15px 10px 15px;
	z-index: 9999;
	margin-bottom:-1px;
	cursor: pointer;	
}
.media{
	max-height:600px;
	max-width:100%;
	overflow: auto;
}

#tab1,#tab2,#tab3,#tab4,#tab5,#tab6,#tab7,#tab8{
	opacity: 0;
}