#tabs-demo{
height:56px;
width: 100%;
padding:20px 20px 0 30px;
margin:0 auto;
position:relative;
overflow:hidden
}

#tabs-demo li{
padding:0;background:none!important;
-webkit-border-radius:5px;
-moz-border-radius:5px;
border-radius:5px;
float:left;
width:200px;
margin:0 10px 0 0;
background-color:#ececec;
border:solid 1px #d1d1d1;
position:relative;z-index:1
}

#tabs-demo li.selected{
z-index:3
}

#tabs-demo li.shadow{
width:100%;
height:2px;position:absolute;
bottom:-3px;left:0;
border:0;background:0;
z-index:2;
-webkit-box-shadow:0 -2px 6px rgba(0,0,0,.4);
-moz-box-shadow:0 -2px 6px rgba(0,0,0,.4);box-shadow:0 -2px 6px rgba(0,0,0,.4)
}

#tabs-demo li a{
display:block;-webkit-border-radius:5px;
-moz-border-radius:5px;
border-radius:5px;
text-align:center;
line-height:36px;
text-decoration:none;border:0;
font-weight:bold;
color:#595757;
outline:0;background:#ececec;
-webkit-transition:background-color .5s linear;
-moz-transition:background-color .5s linear;
-o-transition:background-color .5s linear
}

#tabs-demo li.selected a{
color:#595757;
border:solid 1px #fff;
background-color:#ffffff;

}

/*_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
/
/
/
/* 501px以上
/
/
/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/*/
@media only screen and (min-width:501px){



}

/*_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
/
/
/
/* 500px以下
/
/
/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/*/
@media ( max-width: 500px ) {

#tabs-demo li {
	font-size: 9px;
	width: 29%;
}

}
