/**
动态样式说明：
help=所有在该样式下的操作切面，应该显示出所有帮助信息
dragging=拖拽行为正在发生
dragable=所有可拖入的面板，应标示自身可被拖入，同时在拖拽发生时高亮标示自己
local=该mfile是本地文件，至少应该执行例如隐藏下载按钮等动作
remote=该mfile是远程文件
multiple=标示view-item允许多选
readable=标示view-item或mfile可以被读取
writable=标示view-item可以被写入，意味着可放下文件或者点击选择按钮
deletable=标示mfile可以被删除，总是显示删除按钮，本地文件总是可删除
auditable=标示本次授权用于审批，启用所有审批操作允许
 */


/**
页面最大化铺满整个窗口，并隐藏超出部分（实际也不会超出，只是防止意外出现滚动条）
 */

html,
body {
	height: 100%;
	width: 100%;
	overflow: hidden;
	background-color: #fcfcfc;
}


/**
设置页面组件的默认样式：字体，紧凑边
 */

* {
	margin: 0px;
	padding: 0px;
	font-family: "微软雅黑", sans-serif;
	font-size: 12px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}


/**
始终悬停在右上角的帮组按钮
 */

.help_button {
	position: absolute;
	cursor: pointer;
	top: 0px;
	right: 0px;
	width: 30px;
	height: 30px;
	z-index: 101;
}


/**
  视图组的标题设置
 */

.view-group-title {
	color: black;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
}

.view-group-title:hover {
	color: #01ace2;
}


/**
试图组的副标题信息设置
 */

.view-group-title-min {
	color: gray;
}

.audit_accept,
.audit_refuse {
	position: absolute;
	right: 0px;
	top: 0px;
	width: 40px;
	height: 40px;
	display: none;
}

.accept .audit_accept {
	display: block;
}

.refuse .audit_refuse {
	display: block;
}

.mfile {
	cursor: pointer;
	margin-bottom: 10px;
	padding: 5px;
	height: 80px;
	width: 100%;
	border-radius: 5px;
	background-color: #f8f8f8;
	/*border: 1px solid #d8d8d8;*/
	position: relative;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

#left_panel .mfile {
	width: calc(100% - 20px);
	margin-left: 5px;
	margin-right: 5px;
	margin-bottom: 10px;
	box-shadow: 2px 2px 4px #cccccc;
}

#left_panel .mfile:hover {
	box-shadow: 4px 4px 16px #cccccc;
}

.mfile:hover {
	background-color: #f0f0f0;
}

.mfile-img-seat {
	float: left;
	display: -webkit-flex;
	display: flex;
	width: 100px;
	height: 64px;
}

.mfile-img-con {
	float: left;
	display: -webkit-flex;
	display: flex;
	width: 100px;
	height: 64px;
}

.mfile-img-con2 {
	position: relative;
	float: left;
	display: -webkit-flex;
	display: flex;
	width: 100%;
	height: 100%;
}

.mfile-info {
	float: right;
	width: calc(100% - 100px);
	height: 64px;
	padding-left: 2px;
}

.mfile-img-con2 .mfile-img {
	margin: auto;
	max-width: 100%;
	max-height: 100%;
}

.mfile-filename {
	width: 100%;
	height: 40px;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-all;
}

.mfile-filename-bottom {
	display: none;
	margin: 1px;
	width: 100px;
	height: 47px;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-all;
	background-color: #f0f0f0;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.mfile-filename-bottom:hover {
	background-color: #e8e8e8;
}

.mfile-size {
	float: left;
	width: calc(100% - 24px);
	height: 20px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mfile-delete,
.mfile-download {
	display: none;
	position: absolute;
	width: 0px;
	height: 0px;
	border: none;
	bottom: 0px;
}

.remote.readable .mfile-download {
	display: block;
}

.deletable .mfile-delete {
	display: block;
}

.mfile-download {
	left: 0px;
}

.mfile-delete {
	right: 0px;
}

.mfile:hover .mfile-delete,
.mfile:hover .mfile-download,
.help .mfile-delete,
.help .mfile-download {
	width: 30px;
	height: 30px;
	transition: all 0.5s;
}

.mfile-delete-img,
.mfile-download-img {
	width: 100%;
	height: 100%;
}

.mfile-bar-con {
	float: left;
	width: 100%;
	height: 3px;
	border-radius: 1px;
	background-color: #ffffff;
}

.mfile-bar {
	width: 0px;
	height: 100%;
	border-radius: 1px;
	background-color: #01ace2;
}

.remote .mfile-bar {
	width: 100%;
}

.view-item {
	position: relative;
	cursor: pointer;
	float: left;
	text-align: center;
	min-width: 104px;
	max-width: 100%;
	min-height: 137px;
	max-height: 100%;
	margin: 10px;
	padding: 0px;
	border-radius: 5px;
	border: none;
	background-color: #ffffff;
	overflow: hidden;
	box-shadow: 2px 2px 4px #cccccc;
}

.view-item:hover,
.dragover.view-item {
	box-shadow: 4px 4px 16px #cccccc;
}

.dragging .writable.view-item {
	border-color: #01ace2;
}

.dragging .writable.view-item.multiple {
	border-color: #57ba6b;
}

.view-item-title {
	width: 100%;
	height: 20px;
	color: #ffffff;
	background-color: #01ace2;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: keep-all;
}

.selected .mfile-info,
.selected .mfile-filename-bottom {
	color: white;
	font-weight: bold;
	background-color: #f39814;
	transition: all 0.5s;
}

.view-item-select,
.history {
	display: none;
	position: absolute;
	width: 0px;
	height: 0px;
	border: none;
	left: 0px;
	z-index: 98;
}

.item-writable .view-item-select {
	display: block;
}

.item-hisable .history {
	display: block;
}

.view-item-select {
	top: 20px;
}

.history {
	top: 50px;
}

.view-item:hover .view-item-select,
.view-item:hover .history,
.help .view-item-select,
.help .history,
.mobile .view-item-select,
.mobile .history {
	width: 30px;
	height: 30px;
	transition: all 0.5s;
}

.view-item .mfile {
	width: 102px;
	height: 115px;
	margin: 1px;
	padding: 0px;
	border-radius: 0px;
	float: left;
	border-radius: 5px;
}

.view-item .mfile-filename-bottom {
	display: block;
}

.view-item .mfile-info {
	display: none;
}

.multiple .view-item-title {
	background-color: #57ba6b;
}

.container_lv1 {
	padding-top: 10px;
	padding-bottom: 10px;
	height: 100%;
}

#left_area {
	float: left;
	width: 38.2%;
	padding-left: 10px;
	padding-right: 5px;
}

#left_fieldset {
	position: relative;
	height: calc(100% - 200px);
}

#right_fieldset {
	height: calc(100% - 80px);
}

#right_area {
	float: right;
	width: 61.8%;
	padding-left: 5px;
	padding-right: 10px;
	position: relative;
}

.preview>#left_area {
	display: block !important;
	width: calc(100% - 240px);
}

.preview #right_fieldset {
	height: 100%;
	width: 100%;
}

.preview #br_area,
.preview #left_fieldset,
.preview #bl_area,
.preview .view-item-select,
.preview .view-item .mfile-delete,
.preview .view-item .mfile-download,
.preview .view-group-title,
.preview .mfile-filename-bottom,
.preview #emptyItemToggleBtn,
.preview #right_fieldset hr {
	display: none;
}

.preview .mfile-info {
	display: block;
}

.preview .container_lv1 {
	padding-top: 0px;
	padding-bottom: 0px;
}

.preview #left_area {
	padding-left: 0px;
}

.preview #right_area {
	width: 240px !important;
	padding-right: 0px;
}

.preview #right_fieldset,
.preview .container_lv2 {
	padding: 0px;
}

.preview #right_panel {
	padding: 2px;
}

.preview #right_fieldset .view-item {
	width: 100%;
	margin: 1px;
	margin-bottom: 5px;
	min-height: 18px;
}

.preview #right_fieldset .mfile {
	width: 100%;
	height: 65px;
	margin-bottom: 2px;
}

.preview #right_fieldset .mfile.active {
	height: 72px;
	border: 2px solid #f39814;
}

.container_lv2 {
	width: 100%;
	border-radius: 5px;
	padding: 5px;
	border: 1px solid #d8d8d8;
	background-color: #ffffff;
	box-shadow: 2px 2px 8px #cccccc;
}

#right_fieldset,
#bl_fieldset,
#br_fieldset {
	padding: 10px;
}

#bl_area {
	height: 200px;
	padding-top: 10px;
	position: relative;
}

#bl_fieldset {
	height: 100%;
}

#bl_panel {
	/*height: 100%;*/
	height: 26px;
	margin-bottom: 10px;
}

#bl_tippanel {
	/*height: 100%;*/
	height: 124px;
	padding: 5px;
	background: #fcfcfc;
}

.bl_tipcon {
	height: 100%;
	line-height: 20px;
	overflow: auto;
	color: #666666;
}

.bl_tipcon p {
	white-space: nowrap;
	font-size: 10px;
}

.bl_tipcon .log_error {
	color: #f6383a;
}

.bl_tipcon .log_warning {
	color: #FF6600;
}

.bl_tipcon .log_success {
	color: #57ba6b;
}

#select_button img,
#upload_button img {
	vertical-align: middle;
}

#br_area {
	height: 80px;
	padding-top: 10px;
}

#br_fieldset {
	height: 100%;
}

#br_panel {
	height: 100%;
}

.container_lv3 {
	margin: 0px;
	width: 100%;
	height: 100%;
	padding: 0px;
}

#left_panel {
	overflow-y: auto;
	overflow-x: hidden;
	background: url(../img/wait-dark.png) repeat center;
}

#right_panel {
	overflow-y: auto;
	overflow-x: hidden;
	padding: 10px;
}

.clearfix:after {
	display: block;
	content: '';
	width: 0;
	clear: both;
}

.dragover#left_fieldset {
	background-color: #f0f0f0;
}

legend {
	font-size: 16px;
	font-weight: bold;
	color: gray;
}

#select_button,
#upload_button {
	float: right;
	cursor: pointer;
	margin-left: 5px;
	padding: 0px;
	width: 80px;
	height: 26px;
	border-radius: 2px;
	color: #f6f6f6;
	font-size: 16px;
	font-weight: bold;
	background-color: #01ace2;
	border: none;
}

#select_button:hover,
#upload_button:hover {
	background-color: #11bcf2;
}

#info_label {
	float: left;
	width: calc(100% - 166px);
	font-family: "微软雅黑", sans-serif;
	font-size: 12px;
	line-height: 26px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#progressbar {
	position: relative;
	float: left;
	width: calc(100% - 90px);
	height: 24px;
	border-radius: 5px;
	border: 1px solid #d0d0d0;
	background-color: #ffffff;
}

#progressbar-percent {
	background-color: #01ace2;
	height: 100%;
	width: 0%;
}

#progress-label {
	position: absolute;
	left: 20px;
	top: 2px;
	font-weight: bold;
	text-shadow: 1px 1px 0 #ffffff;
}

#progressbar.error #progressbar-percent {
	width: 100%;
	background-color: #f20;
}

#progressbar.error #progress-label:after {
	position: absolute;
	left: 20px;
	top: 2px;
	width: 100px;
	height: 20px;
	display: block;
	content: '保存失败';
}

.action {
	cursor: pointer;
	color: gray;
	margin: 0px 5px 5px 5px;
	line-height: 26px;
}

.action:hover {
	color: #01ace2;
}

#right_pass_selected,
#right_deny_selected {
	visibility: hidden;
}

.auditable #right_pass_selected,
.auditable #right_deny_selected {
	visibility: inherit;
}


/*
预览界面
*/

.float_outer {
	position: absolute;
}

.float_inner {
	position: relative;
	width: 100%;
	height: 100%;
}

.preview_border {
	float: left;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: #eeeeee;
}

.preview_imgcon {
	float: left;
}

.preview_panel {
	width: 100%;
	height: 100%;
	overflow: hidden;
	clear: both;
}

.preview_viewcontrol {
	right: calc(50% + 185px);
	bottom: 0px;
	width: 120px;
	height: 120px;
	background-image: url('cycle.png');
	background-size: cover;
}

.preview_viewbutton {
	position: absolute;
	cursor: pointer;
	width: 32px;
	height: 32px;
}

#preview_zoom_in {
	left: calc(50% - 16px);
	top: 5px;
}

#preview_zoom_orig {
	left: calc(50% - 16px);
	top: calc(50% - 16px);
}

#preview_zoom_out {
	left: calc(50% - 16px);
	bottom: 5px;
}

#preview_rotate_left {
	left: 5px;
	top: calc(50% - 16px);
}

#preview_rotate_right {
	right: 5px;
	top: calc(50% - 16px);
}

#preview_return {
	cursor: pointer;
	left: 0px;
	top: 0px;
	width: 30px;
	height: 30px;
}

.accept .preview_approval {
	display: block;
}

.refuse .preview_ban {
	display: block;
}

.preview_approval,
.preview_ban {
	display: none;
	position: absolute;
	left: calc(50% + 185px);
	bottom: 0px;
	width: 120px;
	height: 120px;
}

.audit_button {
	visibility: hidden;
	height: 30px;
	cursor: pointer;
	font-size: 18px;
	font-weight: bold;
	line-height: 30px;
	background-color: rgba(1, 172, 226, 1);
	border-radius: 5px;
	padding-right: 3px;
	border: none;
	margin-bottom: 1px;
	color: white;
}

.audit_button img {
	vertical-align: middle;
	margin-top: -3px;
	width: 24px;
	height: 24px;
}

#accept_button {
	float: left;
}

#refuse_button {
	float: right;
}

.item-name {
	float: left;
	margin-top: 5px;
	float: left;
	width: 90px;
	overlfow: hidden;
}

.filesize {
	float: right;
	margin-top: 5px;
	float: left;
	width: 60px;
	overlfow: hidden;
}

.filename {
	float: left;
	width: 360px;
	max-height: 45px;
	overlfow: hidden;
}

.preview_audit {
	width: 360px;
	bottom: 0px;
	left: calc(50% - 180px);
	background-color: rgba(255, 255, 255, 0.5);
}

.audit_mark {
	resize: none;
	border: none;
	width: 360px;
	min-height: 30px;
	max-height: 160px;
	background-color: rgba(255, 255, 255, 0.9);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid rgb(1, 172, 226);
	font-weight: bold;
	font-size: 20px;
	overflow: auto;
}

.preview_navcon {
	position: absolute;
	cursor: pointer;
	top: calc(50% - 70px);
	width: 100px;
	height: 100px;
}

.help .preview_nav {
	display: block;
}

.preview_navcon_previous {
	left: 20px;
}

.preview_navcon_next {
	right: 20px;
}

.preview_nav {
	display: block;
	opacity: .3;
	width: 100%;
	height: 100%;
	-webkit-transition: all .2s linear;
	transition: all .2s linear;
}

.preview_navcon:hover .preview_nav {
	opacity: 1;
}

.auditable #accept_button,
.auditable #refuse_button {
	visibility: inherit;
}

.preview_panel>embed {
	display: block;
	margin: auto;
	width: calc(100% - 100px);
	/*position: absolute;
	left: 0px;
	top: 0px;*/
	/*max-width: 100%;
	width: auto;*/
	height: calc(100% - 30px);
}


/**
 * 下载弹出框
 */

.lay-window {
	width: 500px;
	height: 260px;
	background-color: #FFFFFF;
	box-shadow: none;
	color: #333;
}

.lay-window-btnbox {
	margin-top: 10px;
	text-align: center;
}

.lay-window .layui-layer-content {
	padding: 25px 10px;
}

.layui-layer-setwin .layui-layer-close2 {
	right: -14px;
	top: -14px;
}

.form-group .label {
	display: inline-block;
	width: 100px;
	padding-right: 10px;
	max-width: 100%;
	font-weight: 700;
	text-align: right;
	line-height: 34px;
}

.form-group .form-control {
	display: inline-block;
	width: 160px;
	padding: 5px 12px;
	font-size: 12px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-group .radio-inline {
	display: inline-block;
	margin-right: 15px;
	width: 100px;
}

.form-group .radio-inline,
.form-group .radio-inline input {
	vertical-align: middle;
}

.form-group .radio-inline input {
	margin-top: -3px;
}

.text-center {
	text-align: center;
}

.button {
	cursor: pointer;
	margin-left: 5px;
	padding: 5px 15px;
	border-radius: 2px;
	color: #FFFFFF;
	font-size: 14px;
	background-color: #01ace2;
	border: 1px solid #01ace2;
}

.button:active,
.button:focus {
	border: 1px solid transparent;
	outline: none;
}

.button:hover {
	background-color: #11bcf2;
}

.button.disabled,
.button:disabled {
	cursor: not-allowed;
	background: #eee;
}

.button-default {
	background-color: transparent;
	color: #999999;
	border: 1px solid #dddddd;
}

.button-default:hover {
	background-color: #eeeeee;
}

.error-tip {
	margin-left: 100px;
	color: #FF3300;
}


/*查看历史功能添加的样式*/

#right_history_view {
	display: none;
}

.lay-window {
	max-width: 100%!important;
	max-height: 100%!important;
}

.m-tree {
	padding: 0 10px;
}

.m-tree ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 12px;
}

.m-tree ul li {
	list-style: none;
	margin: 10px 0;
	padding: 0;
	white-space: nowrap;
	outline: 0;
	font-size: 14px;
}

.m-tree li ul {
	margin: 0;
	padding: 0 0 0 18px;
}

.m-tree-arrow {
	cursor: pointer;
	width: 16px;
	height: 16px;
	text-align: center;
	display: inline-block;
}

.m-tree-arrow i {
	display: inline-block;
	width: 100%;
	height: 100%;
	background: url(../img/arrow-down.png) center no-repeat;
	background-size: cover;
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

.m-tree-arrow-open i {
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
}

.m-tree>ul>li>.m-tree-arrow {
	width: 20px;
	height: 20px;
}

.m-tree-title {
	display: inline-block;
	margin: 0;
	padding: 0 5px;
	cursor: pointer;
	vertical-align: top;
	color: #000000;
	font-size: 12px;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

.m-tree>ul>li>.m-tree-title {
	font-size: 14px;
	font-weight: 600;
}

.m-tree-table-container {
	margin: 10px 20px 20px;
}

.m-tree-table {
	width: 100%;
	border-collapse: collapse;
}

.m-tree-table-cell {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	word-break: break-all;
}

.m-tree-table tr,
.m-tree-table th,
.m-tree-table td {
	border: 1px solid #e1e1e1;
}

.m-tree-table th,
.m-tree-table td {
	padding: 5px 10px;
	line-height: 20px;
}

.m-tree-table a {
	text-decoration: none;
	color: #1dade1;
}

.m-tree-table a:hover {
	color: #0088EE;
}

.m-tree-table-activetr {
	display: none;
}

.m-tree-table-deletedtr td:first-child a:hover span {
	color: #f00;
}

.m-tree-table-emptytr {
	color: #999999;
}

.m-tree-table-deletedtr td:nth-child(2),
.m-tree-table-deletedtr td:nth-child(3) {
	text-decoration: line-through;
	color: #999999;
}

.m-tree-table-deletedtr td:first-child a {
	vertical-align: bottom;
}

.icon-download {
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	background: url(../img/icon-download.png) center no-repeat;
	background-size: cover;
}

.m-tree-table .icon-download {
	float: right;
}

.m-tree-oper {
	padding-bottom: 10px;
}

.m-tree-oper .form-group {
	display: inline-block;
	width: 50%;
}

#emptyItemToggleBtn {
	position: absolute;
	top: 20px;
	right: 50px;
	z-index: 2;
}

#list_container {
	position: relative;
	width: 100%;
	height: 100%;
	padding: 10px;
	background: #FFFFFF;
}

#list_container .table_container {
	width: 100%;
	height: 100%;
	overflow: auto;
}

#list_container table th,
#list_container .m-tree-table td.m-td-index {
	background-color: #f2f2f2;
	text-align: center;
}

#list_container .m-tree-table .icon-download {
	float: none;
}

#list_container .m-tree-table td:last-of-type {
	text-align: center;
}

.table-striped>tbody>tr:nth-of-type(odd) {
	background-color: #f9f9f9;
}

.table-hover>tbody>tr:hover {
	background-color: #effbcc;
}