﻿/* update 2015-4-14 */
ul {
	margin: 0;
	padding: 0;
}

.m-pagination {
	margin: 10px 0;
	height: 38px;
}

.m-pagination-page, .m-pagination-info, .m-pagination-size,
	.m-pagination-jump {
	float: left;
	margin-top: 2px;
	padding-right: 10px;
}

/* font */
.m-pagination-page>li>a, .m-pagination-size>select, .m-pagination-group>input,
	.m-pagination-group>button, .m-pagination-info {
	font-size: 14px;
	font-family: 'Microsoft YaHei';
	color: #888;
}

/* border */
.m-pagination-page>li>a, .m-pagination-size>select, .m-pagination-group>input,
	.m-pagination-group>button {
	outline: none;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	-khtml-user-select: none;
	user-select: text;
	-moz-user-select: text;
	-webkit-user-select: text;
	-ms-user-select: text;
	-khtml-user-select: text;
	border: 1px solid #ddd;
}

/* button */
.m-pagination-page>li>a, .m-pagination-group>button {
	cursor: pointer;
	background-color: #fff;
	/*background-image: -webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);
                background-image: -o-linear-gradient(top,#fff 0,#e0e0e0 100%);
                background-image: -webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));
                background-image: linear-gradient(to bottom,#fff 0,#e0e0e0 100%);
                filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
                filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
                background-repeat: repeat-x;*/
}

.m-pagination-group>button:hover {
	background-color: #eee;
	border-color: #ddd;
}
/*.m-pagination-page > li:hover > a:hover {
			color: #cc0000;
		}*/
.m-pagination-page>.pageindex:hover>a:hover {
	color: #1cadee;
}

/*************  pagination-page  *************/
.m-pagination-page>li {
	list-style: none;
	float: left;
}

.m-pagination-page>li>a {
	height: 28px;
	line-height: 28px;
	margin-left: -1px;
	display: inline-block;
	padding: 0 12px;
	text-decoration: none;
	box-sizing: content-box;
}

.m-pagination-page>li.active>a {
	color: #1cadee;
}

.m-pagination-page>li:first-child>a {
	margin-left: 0;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

.m-pagination-page>li:last-child>a {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

/*************  pagination-perpage  *************/
.m-pagination-size>select {
	cursor: pointer;
	height: 36px;
	padding: 0px 8px;
	border-radius: 4px;
}

/*************  pagination-go   *************/
.m-pagination-group>input, .m-pagination-group>button {
	float: left;
	margin-left:0px;
}

.m-pagination-group>input {
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	width: 50px;
	height: 26px;
	padding: 0px;
	text-align: center;
	box-sizing: content-box;
}

.m-pagination-group>button {
	border-left: none;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	height: 28px;
	padding: 0px 12px;
}

/************  pagination-info   *************/
.m-pagination-info {
	height: 36px;
	line-height: 36px;
}

/* modify */
.m-pagination-page>li>a {
	border: transparent;
}

.m-pagination-page>.firstpage>a, .m-pagination-page>.prepage>a,
	.m-pagination-page>.nextpage>a, .m-pagination-page>.lastpage>a {
	display: inline-block;
	padding: 0 22px;
	height: 26px;
	line-height: 26px;
	text-align: center;
	margin: 0 2px;
	border: 1px solid #e5e5e5;
	border-radius: 2px;
}

.m-pagination-page>.firstpage>a:hover, .m-pagination-page>.prepage>a:hover,
	.m-pagination-page>.nextpage>a:hover, .m-pagination-page>.lastpage>a:hover
	{
	background-color: #eee;
}