button {
	cursor: pointer
}

.hide,
.prototype {
    display: none;	
}

/* message box */

.message-box {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.message-box .table {
	width: 100%;
	height: 100%;
}

.message-box .table-cell {
    vertical-align: middle;
    text-align: center;
}

.message-box .box-content {
	margin: auto;
	background-color: white;
	box-shadow: 0px 10px 70px rgba(0, 0, 0, 0.4);
	width: 20em;
	height: 8em;
}

/* end message box */

/* dialog */

.flat_dialog .ui-dialog-titlebar button.ui-dialog-titlebar-close {
	outline: none;
}

.s_dialog {
	padding: 0px;
	border: 1px solid #ddd;
	background: white none;
	box-sizing: border-box;
	box-shadow: 0px 10px 70px rgba(0, 0, 0, 0.4);
	z-index: 999;
}

.s_dialog .ui-dialog-titlebar {
	/*border-color: #aaa;
	background: linear-gradient(to bottom, rgba(160, 160, 160, 1),
		rgba(210, 210, 210, 1));*/
}

.s_dialog .ui-dialog-title {
	font-family: Helvetica, Arial, "microsoft yahei", sans-serif;;
	font-size: 14px;
	color: #a73800;
	padding: 8px 0;
}

.s_dialog .ui-dialog-titlebar button.ui-dialog-titlebar-close {
	outline: none;
	color: transparent;
	
}

#s_dialog button.ui-dialog-titlebar-close {
	color: #000;
} 

.s_dialog button {
	outline: none;
}

.s_dialog .dialog_content {
	padding: 20px;
}

div.s_dialog .ui-dialog-content {
	margin: 0px;
	padding: 0px;
	overflow: hidden;
}

.s_dialog iframe {
	margin: 0px;
	border: 0px;
	padding: 0px;
	width: 100%;
	height: 100%;
	background-color: white;
}

.s_dialog button.ui-dialog-titlebar-close {
	display: inline-block;
	border-width: 0;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    color: #a73800;
    background: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.s_dialog button.ui-dialog-titlebar-close:before {
    content: "\f00d";
}

.dialog-content {
	position: absolute;
	top:0;
	left:0;
	right: 0;
	bottom: 0;
	background-color: white;
	overflow-y: auto;
	padding: 10px;
}

/* end dialog */

/* form */

.input-container {
	display: inline-block;
}

input.error {
	border-color: red;
}

label.error {
	display: block;
	padding: 0.1em;
	color: red;
	line-height: 1em;
}

/* end form */

/* validation */

label.v-error {
	color: red;
}

/* end validation */

/* layout */

.flat {
	display: inline-block;
	margin-right: 1em;
}

.table {
	display: table;
}

.table-header-group {
	display: table-header-group;
}

.table-row-group {
	display: table-row-group;
}

.table-row {
	display: table-row;
}

.table-cell {
	display: table-cell;
}

/* end layout */

/* upload */

.preview.image {
	display: inline-block;
	border: 1px solid #eee;
	width: 150px;
	height: 150px;
	background-position: center;
	background-repeat: no-repeat;
}

.preview>div {
	display: none;
	width: 100%;
	height: 100%;
}

.preview:hover>div {
	display: table;
}

.preview .table-cell {
	background-color: #aaa;
	vertical-align: middle;
	text-align: center;
	opacity: 0.9;
	cursor: pointer;
}
/* end upload */

/* one to many */

.one-to-many {
	position: relative;
	box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.4);
	margin-top: 1em;
	padding: 1em; 
}

.one-to-many .table-cell {
	vertical-align: top;
}

.one-to-many .form-label {
	display: inline-block;
	width: 7em;
	text-align: right;
}

.one-to-many .form-label::after{
	content: '：';
}

.one-to-many .delete {
	position: absolute;
	top: 0;
	left: 0;
}

/* one to many */

/*重置jquey_ui 的样式*/
.ui-widget-header{
	border-left:0px !important;
	border-right:0px !important;
	border-top:0px !important;
}

/* added */

.sp-hide {
	display:none;
}

label.sv-error {
	color: red;
}

/* end added */

/* temp */

/* .sidebar-leftnav ul.level_2>li>a[href*='project\/member\/project\/list'] { */
/* 	display: none; */
/* } */

/* end temp */