html, body {
    margin:0; 
    padding:0;
}
div.error {
    color:red;
    font-weight:700;
    text-align:left;
}
button::-moz-focus-inner {
    border: 0; 
}
button.btn {
    background-color: #7fbf4d;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #F6F6F6), color-stop(100%, #ccc));
    border: 1px solid #B0B0B0;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding:0px;
    width:100%;
    height:37px;
    font-size:16px;
    font-weight:700;
    letter-spacing:2px;
    font-family: 微软雅黑,arial;
    text-align: center;
    text-shadow: 0 -1px 0 #fff;  
}
button.green {
    color: #fff;
    background-color: #7fbf4d;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #7fbf4d), color-stop(100%, #63a62f));
    border: 1px solid #63a62f;
    border-bottom: 1px solid #5b992b;
    text-shadow: 0 -1px 0 #4c9021;
}
button.red { 
    color: #fff;
    background-color: #7fbf4d;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ED3131), color-stop(100%, #990A0A));
    border: 1px solid #7C170A;
    text-shadow: 0 -1px 0 #4c9021;
}
button.blue {
    color: #fff;
    background-color: #7fbf4d;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4785B9), color-stop(100%, #19578A));
    border: 1px solid #333;
    text-shadow: 0 -1px 0 #4c9021;
}
button.gray {
    color: #333;
    background-color: #7fbf4d;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ECECEC), color-stop(100%, #CDCDCD));
    border: 1px solid #999;
    text-shadow: 0 1px rgba(255, 255, 255, .5);
}
button.black {
    color: #fff;
    background-color: #7fbf4d;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #999), color-stop(100%, #2F2F2F));
    border: 1px solid #000;
    text-shadow:none;
}
div.field {
    font-size:16px; 
    line-height:34px;
    overflow:hidden;
    vertical-align:middle;
    border: 1px solid #CCC;
    background: #F2F2F2;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
.field .prompt{
    padding-left:5px;
    width:80px;
    height:30px;
    float:left;
}
input.input {
    width:100%;
    padding:5px 0px 5px 0px;
    font-size: 1em;
    background-color:#F4F4F4;
    border: 1px solid #A4A4A4;
    height: auto;
    line-height: 18px;
    vertical-align:middle;
    -moz-box-shadow: 0 1px 3px #c8c8c8 inset;
    -webkit-box-shadow: 0 1px 3px #c8c8c8 inset;
    box-shadow: 0 1px 3px #c8c8c8 inset;
    vertical-align: text-top;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
textarea.textarea {
    width:100%;
    padding:5px 0px 5px 0px;
    font-size: 1em;
    background-color:#F4F4F4;
    border: 1px solid #A4A4A4;
    height: auto;
    -moz-box-shadow: 0 1px 3px #c8c8c8 inset;
    -webkit-box-shadow: 0 1px 3px #c8c8c8 inset;
    box-shadow: 0 1px 3px #c8c8c8 inset;
    vertical-align: text-top;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
.datefield{
	overflow: hidden;
	text-align: center;
	-webkit-user-select:none;
}
.datefield-scroller{
	position: absolute;
	top : 0;
	bottom : 0;
}
.datefield-scroller>table{
	border-left: 1px solid #000;
	border-right: 1px solid #000;
}
.datefield-scroller>table>thead>tr>th{
	width:14.28%;
}
.datefield-scroller>table>tbody>tr{
	height:16.67%;
}
.datefield-scroller>table>tbody>tr>td+td{
	border-left: 1px solid #ddd;	
}
.datefield-scroller>table>tbody>tr>td{
	border-bottom: 1px solid #ddd;	
}
.datefield-view{
	height: 100%;
	float : left;
	//background-color:#DDD;
}

.datefield-view thead tr{
	background-color: black;
	color:#fff;
}
.week-alt {
	background-color: #F3F3ED;
}
.touch-mask div {
    width:100%;
    height:100%;
    filter: alpha(opacity=10);
    background-color: #000000;
    opacity: 0.1; 
    MozOpacity: 0.1
}
.touch-mask span {
    padding-left:15px;
    padding-right:15px;
    border:1px solid #808080;
    border-radius:5px;
    position: absolute;
    background-color:#333;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ccc), color-stop(100%, #333));
	color:#fff;
    font-weight:bold;
    line-height:28px;
    height:30px;
    -moz-box-shadow: 3px 3px 3px #000;
	-webkit-box-shadow: 3px 3px 3px #000;
	box-shadow: 3px 3px 3px #000;   
}

.switch-button {
	position:relative;
	background-color: #F4F4F4;
	border: 1px solid #A4A4A4;
	height: 28px;
	line-height: 18px;
	-moz-box-shadow: 0 1px 3px #c8c8c8 inset;
	-webkit-box-shadow: 0 1px 3px #c8c8c8 inset;
	box-shadow: 0 1px 3px #c8c8c8 inset;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	margin: 2px 0 2px 0;
	overflow: hidden;
	vertical-align: middle;
}
.switch-button table{
	width: 100%;
	height: 100%;
	border-radius: 5px;
}
.switch-left,.switch-right{
	width:50%;
	height:100%;
	padding: 0 5px 0 5px;
	font-weight: bold;
	cursor: default;
}
.switch-left{
	text-align: left;
	color: #fff;
	background-color: rgb(255,155,0);
	border-radius: 5px;
}
.switch-right{
	text-align: right;
	color: #A4A4A4;	
}
.switch-btn{
	position: absolute;
	left: 0;
	top: -1px;
	height: 100%;
	width: 60%;
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #ccc));
	border: 1px solid #A4A4A4;
	border-radius: 5px;
	text-align: center;
	color: #aaa;
	font-size: 22px;
	line-height: 22px;
	cursor: pointer;
	-moz-box-shadow: 1px 1px 3px #c8c8c8;
	-webkit-box-shadow: 1px 1px 3px #c8c8c8;
	box-shadow: 1px 1px 3px #c8c8c8;
}

.list .selected{
	background-color: #017CB9;
	color:white;
}