/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  border-radius: 1em;
  background-color: rgba(50, 50, 50, 0.3);
}

::-webkit-scrollbar-track {
  border-radius: 1em;
  background-color: rgba(50, 50, 50, 0.1);
}

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#app {
  height: 100%;
  background: rgb(236, 240, 255);
  -webkit-overflow-scrolling: touch;
}

.app-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
}

.main-container {
  min-height: -webkit-calc(100vh - 60px);
  min-height: calc(100vh - 60px);
  transition: margin-left 0.28s;
  margin-left: 310px;
  /* background-color: #f5f5f5; */
  position: relative;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.main-container .app-main {
  min-height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

/* 隐藏第二个栏样式 */
.hide-main-container {
  margin-left: 140px;
}

/* 侧边栏容器样式 */
.sidebar-container {
  transition: all 0.28s;
  width: 170px !important;
  background-color: rgb(255, 255, 255);
  height: -webkit-calc(100vh - 80px);
  height: calc(100vh - 80px);
  position: fixed;
  font-size: 0px;
  top: 80px;
  bottom: 0;
  left: 140px;
  z-index: 98;
  border-radius: 10px;
  overflow: hidden;
}

.second-sidebar {
  padding-left: 6px;
  padding-top: 40px;
}

.sidebar-border-bg {
  background-color: rgb(255, 255, 255);
  -webkit-box-shadow: 3px 0 8px rgba(0, 0, 0, 0.16);
  box-shadow: 3px 0 8px rgba(0, 0, 0, 0.16);
}

/* 顶部导航栏样式 */
.top-navbar {
  padding-bottom: 60px;
}

.top-navbar a{
  color: #333;
}

.top-navbar .navbar {
  height: 60px;
  position: relative;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
}

.top-navbar .navbar .navbar-container {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

/* 侧边栏Logo样式 */
.sidebar-logo-container {
  transition: width 0.28s;
  position: relative;
  width: 310px;
  box-sizing: border-box;
  padding-left: 20px;
  overflow: hidden;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  line-height: 1;
  cursor: pointer;
}

.sidebar-logo-container .sidebar-logo-link {
  height: 100%;
  width: 100%;
}

.sidebar-logo-container .sidebar-logo-link .sidebar-logo {
  height: 48px;
  vertical-align: middle;
  margin-right: 12px;
}

.sidebar-logo-container .svg-icon svg {
  display: block;
  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 20px;
  height: 11px;
}

.sidebar-logo-container .sidebar-logo-link .sidebar-title {
  display: inline-block;
  margin: 0;
  color: #000;
  font-weight: 600;
  line-height: 50px;
  color: #fff;
  font-size: 16px;
  vertical-align: middle;
}

.sidebar-logo-container .collapse {
  width: 54px;
}

.sidebar-logo-container .collapse .sidebar-logo {
  margin-right: 0px;
}

.sidebar-logo-container .navbar-system-name {
  display: block;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-left: 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.only_left {
  width: 170px;
}

/* 左侧边栏样式 */
.left-sidebar-container {
  width: 140px !important;
  height: -webkit-calc(100vh - 80px) !important;
  height: calc(100vh - 80px) !important;
  padding: 0 8px;
  left: 0;
  top: 80px;
  border-radius: 10px;
  font-size: 14px;
  z-index: 99;
}

.hide-sidebar-container {
  left: -30px;
}

#app .left-sidebar {
  overflow: hidden;
  height: 100%;
}

#app .left-sidebar .left-sidebar-collapse {
  width: 100%;
  height: 40px;
  padding-right: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
}

/* ========================================= */
.menu_container {
  width: 100%;
}

.nav-menu {
  list-style: none;
  height: 0;
  padding: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
}

/* .sidenav-submenu.is-opened > .nav-menu {
  height: auto; 
} */

.sidenav-menu-item {
  border-radius: 10px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  height: 50px;
  line-height: 50px;
  margin-bottom: 6px;
  font-size: 14px;
  color: #303133;
  padding: 0 15px;
  cursor: pointer;
  -webkit-transition: border-color 0.3s, background-color 0.3s, color 0.3s;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
}

.left-menu-icon {
  width: 1rem;
  margin-right: 4px;
  color: #ffaf26;
  -webkit-transition: border-color 0.3s, background-color 0.3s, color 0.3s;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}

.sidenav-menu-item.is-active .left-menu-icon {
  color: #fff !important;
}

.sidenav-menu-item:hover:not(.is-active) {
  background-color: #fde5c2;
}

.sidenav-menu-item-group__title {
  font-weight: bold;
  cursor: default;
}

.sidenav-submenu .nav-menu .sidenav-menu-item {
  padding-left: 40px;
}

.sidenav-submenu {
  margin-bottom: 6px;
}

.app-wrapper .sidenav-icon {
  width: 0.7rem;
  margin-right: 10px;
}

.is-active {
  background-color: #ffaf26;
  color: #fff !important;
}

.is-disabled {
  color: grey;
  cursor: not-allowed;
}

.sidenav-menu-item-group {
  border-top: 1px solid #ccc;
}

.sidenav-menu-item-group:first-child {
  border-top: none;
}

.sidenav-menu_container {
  width: 100%;
}
/* ====svg */
.svg-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #ffaf26 !important;
}

/* ===============================second-sidebar========================================== */
.second-sidebar .sidenav-submenu__title,
.second-sidebar .sidenav-menu-item {
  height: 56px;
  line-height: 56px;
  position: relative;
  -webkit-box-sizing: border-box;
  white-space: nowrap;
  list-style: none;
  font-size: 14px;
  font-weight: normal;
  color: #7a8295;
  padding: 0 20px;
  margin: 0;
  cursor: pointer;
  -webkit-transition: border-color 0.3s, background-color 0.3s, color 0.3s;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.second-sidebar .nest-menu .sidenav-submenu .sidebar-submenu__title {
  padding-left: 40px;
}

.second-sidebar .sidenav-submenu__title {
  position: relative;
}

.second-sidebar .sidenav-menu-item .left-menu-icon,
.sidenav-submenu__title .left-menu-icon {
  color: rgb(122, 130, 149);
}

.second-sidebar .sidenav-submenu__title .submenu-toggle-icon {
  content: '';
  position: absolute;
  top: 50%;
  right: 8%;
  display: block;
  width: 0.42em;
  height: 0.42em;
  border: 1px solid;
  border-top: 0;
  border-right: 0;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
  -webkit-transform: translateY(-50%) rotate(135deg);
  transform: translateY(-50%) rotate(135deg);
}

.submenu-toggle-icon.collapsed {
  top: 40% !important;
  -webkit-transform:rotate(-45deg) !important;
  transform: rotate(-45deg) !important;
}

.second-sidebar .sidenav-menu-item {
  background: none !important;
}

.second-sidebar .sidenav-menu-item:not(.is-active):hover,
.second-sidebar .sidenav-menu-item:not(.is-active):hover .left-menu-icon {
  color: #ffaf26 !important;
}

.second-sidebar .is-active:not(.sidenav-submenu),
.second-sidebar .is-active:not(.sidenav-submenu) .left-menu-icon {
  background: none !important;
  color: #ffaf26 !important;
  font-weight: 700;
}

.second-sidebar .sidenav-menu--inline .sidenav-menu-item {
  background: rgba(250, 205, 145, 0.17) !important;
  border-radius: 0;
}

.second-sidebar .nav-menu .nest-menu .sidenav-submenu>.sidenav-submenu__title{
  padding-left: 40px;
}

.second-sidebar .nav-menu .nest-menu .sidenav-submenu .sidenav-menu>.sidenav-menu-item{
  padding-left: 60px;
}

/* ================ */
.dotted {
  position: relative;
  padding-left: 9px;
}

.dotted::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  margin-top: -4px;
  width: 8px;
  height: 8px;
  background-color: #68A603;
  border-radius: 50%;
}

.dottedUndone{
  position: relative;
  padding-left: 9px;
}

.dottedUndone::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  margin-top: -4px;
  width: 8px;
  height: 8px;
  background-color: #FFA91C;
  border-radius: 50%;
}

.dottedError{
  position: relative;
  padding-left: 9px;
}

.dottedError::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  margin-top: -4px;
  width: 8px;
  height: 8px;
  background-color: rgba(217, 0, 27, 0.75);
  border-radius: 50%;
}

.dottedEidt{
  position: relative;
  padding-left: 9px;
}

.dottedEidt::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  margin-top: -4px;
  width: 8px;
  height: 8px;
  background-color: #0000FF;
  border-radius: 50%;
}

table.table_khc2_show_detail {
  border-collapse: collapse;
  color: #000000;
  margin: 30px auto;
  min-width: 500px;
  max-width: 90%;
}
.table_khc2_show_detail th {
  font-size: 16px;
  background: none repeat scroll 0 0 #f3f3f3;
  border: 1px solid #BEBDC2;
  padding-right: 1em;
  padding-top: 6px;
  line-height: 30px;
  width: 20%;
  text-align: right;
}
.table_khc2_show_detail td {
  font-size: 16px;
  background: none repeat scroll 0 0 #FFFFFF;
  border: 1px solid #BEBDC2;
  line-height: 26px;
  padding: 4px 1em;
  word-break: break-all;/*自动换行*/
}