/* 全局 */
#app, body, html {width: 100%;height: 100%;background-color: #f6f8f9;font-size: 12px;}
a {color: #333;text-decoration: none;}
a:hover, a:focus {color: #000;text-decoration: none;}
a:link {text-decoration: none;}
a:-webkit-any-link {text-decoration: none;}
a,button,input,textarea{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing: border-box;outline:none !important; -webkit-appearance: none;}
* {margin: 0;padding: 0;box-sizing: border-box;outline: none;}

/* 大布局样式 */
.pi {display: flex;flex-flow: column;}
.pi-wrapper {display: flex;flex:1;overflow: auto;}
.pi-wrapper .logo-bar {display: flex;align-items: center;height: 50px;justify-content: center;}
.pi-wrapper .logo-bar .logo {width: 35px;height: 35px;}
.pi-wrapper .logo-bar .title {margin-left: 10px;font-size: 14px;font-weight: bold;display: inline-block;vertical-align: middle;white-space: nowrap;}

/* 全局滚动条样式 */
.scrollable {-webkit-overflow-scrolling: touch;}
::-webkit-scrollbar {width: 5px;height: 5px;}
::-webkit-scrollbar-thumb {background-color: rgba(50, 50, 50, 0.3);}
::-webkit-scrollbar-thumb:hover {background-color: rgba(50, 50, 50, 0.6);}
::-webkit-scrollbar-track {background-color: rgba(50, 50, 50, 0.1);}
::-webkit-scrollbar-track:hover {background-color: rgba(50, 50, 50, 0.2);}

/*布局设置*/
.layout-setting {position: fixed;width: 40px;height: 40px;border-radius: 3px 0 0 3px;bottom: 100px;right: 0px;z-index: 100;background: #409EFF;display: flex;flex-direction: column;align-items: center;justify-content: center;cursor: pointer;}
.layout-setting i {font-size: 18px;color: #fff;}

/* 头部 */
.pi-header {height: 58px;background: #222b45;color: #fff;display: flex;justify-content:space-between;}
.pi-header-left {display: flex;align-items: center;padding-left:20px;}
.pi-header-right {display: flex;align-items: center;}
.pi-header .logo-bar {font-size: 20px;font-weight: bold;display: flex;align-items: center;}
.pi-header .logo-bar .logo {margin-right: 10px;width: 35px;height: 35px;}
.pi-header .nav {display: flex;height: 100%;margin-left: 40px;}
.pi-header .nav li {padding:0 10px;margin: 0 10px 0 0;font-size: 14px;color: rgba(255, 255, 255, 0.6);list-style: none;height: 100%;display: flex;align-items: center;cursor: pointer;}
.pi-header .nav li i {margin-right: 5px;}
.pi-header .nav li:hover {color: #fff;}
.pi-header .nav li.active {background: rgba(255, 255, 255, 0.1);color: #fff;}
.pi-header .user-bar .panel-item:hover {background: rgba(255, 255, 255, 0.1)!important;}
.pi-header .user-bar .user label{color: #fff;}

.pi-dock .pi-header.pi-pad {padding: 0 80px}
.pi-dock .pi-wrapper .pi-body .pi-tags {padding: 0 15px;}
.pi-dock .pi-wrapper .pi-body .pi-tags ul {margin: 0 80px;}
.pi-dock .pi-wrapper .pi-body .pi-main.pi-pad{margin: 0 80px}

/* 左侧菜单 */
.pi-side-split {width:65px;flex-shrink:0;background: #222b45;display: flex;flex-flow: column;}
.pi-side-split-top {height: 49px;}
.pi-side-split-top a {display: inline-block;width: 100%;height: 100%;display: flex;align-items: center;justify-content: center;}
.pi-side-split-top .logo {height:30px;vertical-align: bottom;}
.pi-side-split-scroll {overflow: auto;overflow-x:hidden;height: 100%;flex: 1;}
.pi-side-split li {cursor: pointer;width: 65px;height: 65px;color: #fff;text-align: center;display: flex;flex-direction: column;align-items: center;justify-content: center;}
.pi-side-split li i {font-size: 18px;}
.pi-side-split li p {margin-top:5px;}
.pi-side-split li:hover {background: rgba(255, 255, 255, 0.1);}
.pi-side-split li.active {background: #409EFF;}

.pi-side-split-scroll::-webkit-scrollbar-thumb {background-color: rgba(255, 255, 255, 0.4);border-radius:5px;}
.pi-side-split-scroll::-webkit-scrollbar-thumb:hover {background-color: rgba(255, 255, 255, 0.5);}
.pi-side-split-scroll::-webkit-scrollbar-track {background-color: rgba(255, 255, 255, 0);}
.pi-side-split-scroll::-webkit-scrollbar-track:hover {background-color: rgba(255, 255, 255, 0);}

.pi-side {display: flex;flex-flow: column;flex-shrink:0;width:210px;background: #fff;box-shadow: 2px 0 8px 0 rgba(29,35,41,.05);border-right: 1px solid #e6e6e6;transition:width 0.3s;}
.pi-side-top {border-bottom: 1px solid #ebeef5;height:50px;line-height: 50px;}
.pi-side-top h2 {padding:0 20px;font-size: 17px;color: #3c4a54;}
.pi-side-scroll {overflow: auto;overflow-x:hidden;flex: 1;}
.pi-side-bottom {border-top: 1px solid #ebeef5;height:51px;cursor: pointer;display: flex;align-items: center;justify-content: center;}
.pi-side-bottom i {font-size: 16px;}
.pi-side-bottom:hover {color: var(--el-color-primary);}
.pi-side.isCollapse {width: 65px;}
.el-menu .menu-tag {position: absolute;height: 18px;line-height: 18px;background: var(--el-color-danger);font-size: 12px;color: #fff;right: 20px;border-radius:18px;padding:0 6px;}
.el-menu .el-sub-menu__title .menu-tag {right: 40px;}
.el-menu--horizontal > li .menu-tag {display: none;}

/* 右侧内容 */
.pi-body {flex: 1;display: flex;flex-flow: column;}

.pi-topbar {height: 50px;border-bottom: 1px solid #ebeef5;background: #fff;box-shadow: 0 1px 4px rgba(0,21,41,.08);display: flex;justify-content:space-between;}
.pi-topbar .left-panel {display: flex;align-items: center;}
.pi-topbar .right-panel {display: flex;align-items: center;}

.right-panel-search {display: flex;align-items: center;}
.right-panel-search > * + * {margin-left:10px;}

.pi-tags {height:35px;background: #fff;border-bottom: 1px solid #e6e6e6;}
.pi-tags ul {display: flex;overflow: hidden;}
.pi-tags li {cursor: pointer;display: inline-block;float: left;height:34px;line-height: 34px;position: relative;flex-shrink: 0;}
.pi-tags li::after {content: " ";width:1px;height:100%;position: absolute;right:0px;background-image: linear-gradient(#fff, #e6e6e6);}
.pi-tags li a {display: inline-block;padding:0 10px;width:100%;height:100%;color: #999;text-decoration:none;display: flex;align-items: center;}
.pi-tags li i {border-radius: 3px;width:18px;height:18px;display: flex;align-items: center;justify-content: center;}
.pi-tags li span {margin-right: 5px;margin-left: 5px;}
.pi-tags li i:hover {background: rgba(0,0,0,.2);color: #fff;}
.pi-tags li:hover {background: #ecf5ff;}
.pi-tags li.active {background: #409EFF;}
.pi-tags li.active a {color: #fff;}
.pi-tags li.sortable-ghost {opacity: 0;}

.pi-main {overflow: auto;background-color: #f6f8f9;flex: 1;}
.pi-main .el-container .el-footer {height: 59px;}

/*页面最大化*/
.pi.main-maximize {
	.main-maximize-exit {display: block;}
	.pi-side-split, .pi-side, .pi-header, .pi-topbar, .pi-tags {display: none;}
}
.main-maximize-exit {display: none;position: fixed;z-index: 3000;top:-20px;left:50%;margin-left: -20px;border-radius: 50%;width: 40px;height: 40px;cursor: pointer;background: rgba(0,0,0,0.2);text-align: center;}
.main-maximize-exit i {font-size: 14px;margin-top: 22px;color: #fff;}
.main-maximize-exit:hover {background: rgba(0,0,0,0.4);}

/*定宽页面*/
.pi-page {width: 1230px;margin: 0 auto;}
.pi-panel {	background: var(--el-bg-color-overlay); border-color: var(--el-border-color-light);}
