﻿html, body { background: #f9f9f9; -ms-overflow-style: scrollbar; /*ie-scrollbar*/ }

@media(max-width:768px) {
    html, body { overflow-x: hidden; /* Prevent scroll on narrow devices */ }
}

.all { margin-top: 0px; margin-left: 220px; z-index: 20; padding-left: 0; padding-right: 0; }
.sidebar { position: fixed; left: 0; bottom: 0; top: 50px; width: 220px; padding: 0; background-color: #f1f1f1; }
.sidebar .sidebar-scroll { overflow-y: auto; overflow-x: hidden; height: 100%; border-right: 1px solid #ccc; -webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: -blackberry-touch; }
.sidebar .sidebar-scroll::-webkit-scrollbar { width: 10px; }
.sidebar .sidebar-scroll::-webkit-scrollbar-track { border-radius: 10px; background: #eaeceb; -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); box-shadow: inset 0 0 3px rgba(0,0,0,0.3); }
.sidebar .sidebar-scroll::-webkit-scrollbar-thumb { border-radius: 10px; background: #ccc; -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.1); box-shadow: inset 0 0 3px rgba(0,0,0,0.1); height: 20px; }
.sidebar ul { list-style-type: none; margin: 0; padding: 0; }
.sidebar li { border-top: 1px solid #f3f3f3; }
.sidebar li a { color: #6d7983; }
.sidebar li .caret { margin-top: 9px; }
.sidebar li i { margin-right: 15px; }
.sidebar .nav-header { padding: 10px; background-color: #f5f5f5; }
.sidebar .nav > li[class*=active] > a { background-color: #00acac; color: #fff;  }

.sidebar .nav > li > a { padding: 13px 8px; border-bottom: 1px solid #e5e5e5; }
.sidebar .sub-menu { display: none; }
.sidebar .sub-menu li:hover { background-color: #f5f5f5; }
.sidebar .sub-menu li a { padding: 15px 15px; text-decoration: none; display: block; background-color: #fff; }
.sidebar .sub-menu li[class*=active] > a { color: #00acac !important; font-weight:bold;}
.sidebar .nav li[class*=active] .sub-menu { display:block }

.maincontent { width: 100%; height: 100%; margin: 0 auto; min-width: 320px !important; overflow: hidden; }
.maincontent .breadcrumb { padding: 14px 15px;margin-bottom:8px;}

#goTop { padding: 5px 15px; border-radius: 8px; position: fixed; right: 20px; bottom: 20px; display: none; background-color: #aaa; color: #fff; text-align: center; display: none; -moz-transition: background 0.5s linear; -webkit-transition: background 0.5s linear; -o-transition: background 0.5s linear; transition: background 0.5s linear; z-index: 99; }
#goTop:hover { background: #808080; }

@media (max-width:768px) {
    .navbar-toggle[class*=pull-left] { margin-left: 15px; margin-right: 0; }
    #goTop { padding: 0 8px; }
}

.forkme { position: absolute; top: 50px; right: 0; border: 0; }
/*fa字体库样式纠正，注意写法，中间是没有间隔的*/
.fa.pull-right { line-height: inherit; }

.notice{height:30px;padding: 0 30px;overflow:hidden;}
.notice ul li {list-style:none;line-height:26px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}
.notice a {cursor: pointer;text-decoration:none;color:#ccc;}
.notice a:hover{color:#fff;}


