.segmented{
	list-style: none;
	overflow: hidden;
}

.segmented button{
	-webkit-appearance: none;
	-webkit-box-align: center;
	-webkit-box-shadow: rgb(255, 255, 255) 0px 0px 1px 0px inset;
	background-attachment: scroll;
	background-clip: border-box;
	background-color: #E0E0E0;
	-moz-box-shadow: inset 0 0 1px #fff;
	-ms-box-shadow: inset 0 0 1px #fff;
	background-image: -webkit-linear-gradient(top, rgb(250, 250, 250) 0px, rgb(220, 220, 220) 100%);
	filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#fffafafa,EndColorStr=#ffdcdcdc);
	background-image: -moz-linear-gradient(top,#fafafa 0,#dcdcdc 100%);
	background-image: -ms-linear-gradient(top,#fafafa 0,#dcdcdc 100%);
	background-image: -o-linear-gradient(top,#fafafa 0,#dcdcdc 100%);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0,#fafafa),color-stop(100%,#dcdcdc));
	background-origin: padding-box;
	background-repeat: repeat;
	border-bottom-color: #AAA;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-left-color: #CCC;
	border-left-style: solid;
	border-left-width: 1px;
	border-right-color: #CCC;
	border-right-style: solid;
	border-right-width: 1px;
	border-top-color: #CCC;
	border-top-style: solid;
	border-top-width: 1px;
	box-shadow: rgb(255, 255, 255) 0px 0px 1px 0px inset;
	color: #555;
	cursor: pointer;
	display: inline-block;
	font-family: arial, sans-serif;
	font-size: 11px;
	font-weight: bold;
	height: 30px;
	outline-color: #555;
	outline-style: none;
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
	text-indent: 0px;
	text-shadow: white 0px 1px 0px;
	text-transform: none;
	vertical-align: middle;
	white-space: nowrap;
	width: 60px;
	word-spacing: 0px;
	word-wrap: normal;

}

.segmented li p{
	margin: 0px;
	padding: 7px;

}

.segmented button:hover{
	background-color: rgb(250, 250, 250);
	background-image: none;
}

.segmented button.selected{
	border-color: #888 #AAA #CCC;
	-moz-box-shadow: inset 0 1px 5px rgba(0,0,0,0.25),0 1px 0 #fff;
	-ms-box-shadow: inset 0 1px 5px rgba(0,0,0,0.25),0 1px 0 #fff;
	-webkit-box-shadow: inset 0 1px 5px rgba(0,0,0,0.25),0 1px 0 #fff;
	box-shadow: inset 0 1px 5px rgba(0,0,0,0.25),0 1px 0 #fff;
	filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffc8c8c8,EndColorStr=#ffe6e6e6);
	background-image: -moz-linear-gradient(top,#c8c8c8 0,#e6e6e6 100%);
	background-image: -ms-linear-gradient(top,#c8c8c8 0,#e6e6e6 100%);
	background-image: -o-linear-gradient(top,#c8c8c8 0,#e6e6e6 100%);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0,#c8c8c8),color-stop(100%,#e6e6e6));
	background-image: -webkit-linear-gradient(top,#c8c8c8 0,#e6e6e6 100%);
	background-image: linear-gradient(to bottom,#c8c8c8 0,#e6e6e6 100%);
}

.leftbtn{
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

.midbtn {
    margin-left: -5px;
}

.rightbtn{	
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	margin-left: -5px;
}

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