/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
	padding-top: 50px;
}

/*
 * Global add-ons
 */
.sub-header {
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
	border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
	display: none;
}

.sidebar {
	position: fixed;
	top: 51px;
	bottom: 0;
	left: 0;
	z-index: 1000;
	display: block;
	padding: 20px;
	overflow-x: hidden;
	overflow-y: auto;
	background-color: #f5f5f5;
	border-right: 1px solid #eee;
}

/* Sidebar navigation */
.nav-sidebar {
	margin-right: -21px; /* 20px padding + 1px border */
	margin-bottom: 20px;
	margin-left: -20px;
}

.nav-sidebar>li>a {
	padding-right: 20px;
	padding-left: 20px;
}

.nav-sidebar>.active>a, .nav-sidebar>.active>a:hover, .nav-sidebar>.active>a:focus
	{
	color: #fff;
	background-color: #428bca;
}

.sub-sidebar {
	width: 100%;
	background: none;
	position: absolute;
	clear: both;
	margin: 0px;
	top: 25px;
	left: 0;
}

.sub-sidebar>ul {
	margin: 0px;
	padding: 0px;
	width: 100%;
	display: block;
	z-index: 999;
}

.sub-sidebar>ul>li {
	list-style-type: none;
	float: left;
	display: block;
	margin: 0px;
	border-right: 1px solid #fff;
	position: relative;
	cursor: pointer;
}

.sub-sidebar>ul>li>a {
	font-size: 24px;
	color: #333;
	text-align: center;
	background: #cde;
	padding: 20px 80px 20px 80px;
	text-decoration: none;
	position: relative;
}

.sub-sidebar>ul>li>a:hover, .sub-sidebar>ul>li>a:focus {
	background: #edc
}

.sub-sidebar>ul>.active>a, .sub-sidebar>ul>.active>a:hover, .sub-sidebar>ul>.active>a:focus
	{
	border-top: 3px solid #abc;
	background-color: #fff;
}

/*
 * Main content
 */
.fl {
	float: left
}

.fr {
	float: right
}

.main {
	padding: 20px;
	margin-bottom: 20px;
}

@media ( min-width : 768px) {
	.main {
		padding-right: 40px;
		padding-left: 40px;
	}
}

.main .page-header {
	margin-top: 0;
}

/* Footer */
.footer {
	position: fixed;
	width: 100%;
	height: 40px;
	bottom: 0px;
	background: #f5f5f5;
}

.container {
	width: auto;
	max-width: 680px;
	padding: 0 15px;
}

.container .text-muted {
	margin: 10px 0;
}

.container-fluid .row-fluid:first-child {
	margin-top: 20px;
}

.row-fluid .span20 {
	width: 97.8%
}

.help-inline {
	color: #ff0000;
}

/* Widgets */
.widget-box {
	background: none repeat scroll 0 0 #F9F9F9;
	border-top: 1px solid #CDCDCD;
	border-left: 1px solid #CDCDCD;
	border-right: 1px solid #CDCDCD;
	clear: both;
	margin-top: 16px;
	margin-bottom: 16px;
	position: relative;
}

.widget-box.widget-calendar, .widget-box.widget-chat {
	overflow: hidden !important;
}

.widget-box.widget-plain {
	background: transparent;
	border: none;
	margin-top: 0;
	margin-bottom: 0;
}

.widget-title {
	background-color: #efefef;
	border-bottom: 1px solid #CDCDCD;
	height: 36px;
}

.widget-title h5 {
	color: #666666;
	text-shadow: 0 1px 0 #ffffff;
	float: left;
	font-size: 12px;
	font-weight: bold;
	padding: 12px;
	line-height: 12px;
	margin: 0;
}

.widget-title .buttons {
	float: right;
	margin: 3px 10px 0 0;
}

.widget-content {
	padding: 12px 15px;
	border-bottom: 1px solid #cdcdcd;
}

/* Forms */
form {
	margin-bottom: 0;
}

.form-horizontal .control-group {
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #eeeeee;
	margin-bottom: 0;
}

.form-horizontal .control-group:last-child {
	border-bottom: 0;
}

.form-horizontal .control-label {
	padding-top: 15px;
	width: 180px;
	float: left;
}

.form-horizontal .controls {
	margin-left: 200px;
	padding: 10px 0;
}

.form-horizontal .form-actions {
	margin-top: 0;
	margin-bottom: 0;
}

.textArea {
	resize: none;
	width: 180px;
	height: 100px;
	max-width: 180px;
	max-height: 100px;
}

input[disabled], select[disabled], textarea[disabled], input[readonly],
	select[readonly], textarea[readonly] {
	cursor: not-allowed;
	background-color: #eee
}

select {
	width: 175px;
	height: 25px;
	background-color: #fff;
	border: 1px solid #ccc;
}

.progress {
	width: 1027px;
	height: 4px;
	border: 1px solid #ccc;
	border-radius: 4px;
	overflow: hidden;
	margin-left: -40px;
}

/* 初始状态设置进度条宽度为0px */
.progress>div {
	width: 0px;
	height: 100%;
	background-color: yellowgreen;
	transition: all .3s ease;
}

/*页码*/
.filter-group {
	padding-top: 15px;
	padding-bottom: 15px;
}

.filter-label {
	font-size: 16px;
	padding: 3px;
}

.filters {
	padding: 1px;
	margin-left: 10px;
	margin-right: 10px;
}

.pagination ul {
	display: inline-block;
	*display: inline;
	margin-bottom: 0;
	margin-left: 0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	*zoom: 1;
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05)
}

.pagination ul>li {
	display: inline
}

.pagination ul>li>a, .pagination ul>li>span {
	float: left;
	padding: 4px 12px;
	line-height: 20px;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #ddd;
	border-left-width: 0
}

.pagination li a {
	font-size: 12px;
	padding: 4px 10px !important;
	border-style: solid;
	border-width: 1px;
	border-color: #dddddd #dddddd #cccccc; /* for IE < 9 */
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	display: inline-block;
	line-height: 16px;
	background: #f5f5f5;
	color: #333333;
	text-shadow: 0 1px 0 #ffffff;
}

.pagination li a:hover {
	background: #e8e8e8;
	color: #222222;
	text-shadow: 0 1px 0 #ffffff;
	cursor: pointer;
}

.pagination li.disabled a {
	color: #AAAAAA !important;
}

.pagination li.disabled a:hover {
	background: #f5f5f5;
	cursor: default !important;
}

.pagination li.active a {
	background: #F77825;
	color: #ffffff !important;
	cursor: default !important;
}

/*筛选对话框*/
.data-filter-dialog-mask{
  position:fixed;
  z-index:1000;
  top:0;
  right:0;
  left:0;
  bottom:0;
}
.data-filter-dialog-main{
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  max-width:50%;
  z-index:5000;
  line-height:1.4;
  background-color:#FFFFFF;
  border-top-left-radius:12px;
  border-bottom-left-radius:12px;
  border: 1px solid #aaa;
  overflow:hidden;
  padding:0 calc(24px + constant(safe-area-inset-right)) constant(safe-area-inset-bottom) calc(24px + constant(safe-area-inset-left));
  padding:0 calc(24px + env(safe-area-inset-right)) env(safe-area-inset-bottom) calc(24px + env(safe-area-inset-left));
}
.data-filter-dialog-title{
  font-weight:700;
  font-size:15px;
  height:3em;
  border-bottom: 1px solid #CDCDCD;
  display:-webkit-box;
  display:-webkit-flex;
  display:flex;
  -webkit-box-align:center;
  -webkit-align-items:center;
          align-items:center;
}
.data-filter-dialog-body{
  word-wrap:break-word;
  -webkit-hyphens:auto;
  hyphens:auto;
  overflow-y:auto;
}
.data-filter-dialog-body .filter-row {
	margin-top: 5px;
	margin-bottom: 0;
  	overflow-y:auto;
}
.data-filter-dialog-body .filter-name {
	padding-top: 5px;
	width: 100px;
	float: left;
	text-align: right;
}
.data-filter-dialog-body .filter-name_ {
	margin-right: -10px;
	padding-top: 5px;
	float: left;
}
.data-filter-dialog-body .filters-data {
	margin-left: 10px;
	padding: 2px 0;
	float: left;
}
.data-filter-dialog-body .filters-data-date {
	width: 140px;
}
.data-filter-dialog-body .filters-data-data {
	width: 294px;
}
.data-filter-dialog-body .filters-button {
	margin-top: 5px;
	margin-bottom: 0;
	float: right;
}
.data-filter-dialog-body .filters-buttons {
	margin-right: 3px;
	float: left;
}
.data-filter-dialog-body .filters-button .btn-success {
	width: 100px;
}
.data-filter-dialog-body .filters-buttons .btn-warning {
	width: 71px;
	height: 20px;
  	font-size:10px;
	padding: 2px 0;
}
.data-filter-dialog-show{
	-webkit-transform:translateY(0);
	transform:translateY(0)
}
.quick-actions {
	display: inline-block;
	list-style: none outside none;
	margin: 20px 0 10px;
	text-align: center;
}

.quick-actions li {
	min-width: 175px;
	background: #F6F6F6;
	border: 1px solid #D5D5D5;
	box-shadow: 0 1px 0 0 #FFFFFF inset, 0 1px 0 rgba(255, 255, 255, 0.4);
	display: inline-block;
	line-height: 18px;
	margin: 0 10px 10px;
	padding: 0 10px;
}

.quick-actions h4 {
	font-size: 30px;
}

.quick-actions p.description {
	margin-top: 0px;
	opacity: .6;
}

/* Charts & graphs **/
.chart, .pie, .bars {
	height: 300px;
	max-width: 100%;
}

#tooltip {
	position: absolute;
	display: none;
	border: none;
	padding: 3px 8px;
	border-radius: 3px;
	font-size: 10px;
	background-color: #222222;
	color: #ffffff;
	z-index: 25;
}

/*远程指令*/
.chat-content {
	height: 420px;
	padding: 0px;
}

.panel-left2 {
	margin-left: 0px;
}

.chat-messages {
	height: 320px;
	overflow: auto;
	position: relative;
	padding: 0 15px;
	margin: 0 -16px;
}

.chat-toolbar {
	height: 36px;
	margin: 0 -16px;
	background: #eeeeee;
	border: 1px solid #cccccc;
}

.chat-message {
	margin: 3px 0;
	margin: 0 -11px;
}

.chat-message textarea {
	margin-bottom: 0 !important;
	resize: none;
	width: 100%;
	height: 60px;
	border: none;
	outline: none;
	background: none;
	margin: 5px;
}

.chat-message .input-box {
	display: block;
}

#chat-messages-inner p {
	padding: 0px;
	margin: 8px 0;
}

#chat-messages-inner p img {
	display: inline-block;
	float: left;
	vertical-align: middle;
	width: 28px;
	height: 28px;
	margin-top: -1px;
	margin-right: 10px;
}

#chat-messages-inner .msg-block, #chat-messages-inner p.offline span {
	background: none repeat scroll 0 0 #FFFFFF;
	border: 1px solid #cccccc;
	box-shadow: 1px 1px 0 1px rgba(0, 0, 0, 0.05);
	display: block;
	margin-left: 0px;
	padding: 10px;
	position: relative;
}

#chat-messages-inner p.offline span {
	background: none repeat scroll 0 0 #FFF5F5;
}

#chat-messages-inner .time {
	color: #999999;
	font-size: 11px;
	float: right;
}

#chat-messages-inner .msg {
	display: block;
	margin-top: 13px;
	border-top: 1px solid #dadada;
}

#chat-messages-inner .msg-block:before {
	border-right: 7px solid rgba(0, 0, 0, 0.1);
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	content: "";
	display: none;
	left: -7px;
	position: absolute;
	top: 11px;
}

#chat-messages-inner .msg-block:after {
	border-right: 6px solid #ffffff;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	content: "";
	display: none;
	left: -6px;
	position: absolute;
	top: 12px;
}

