/*基础样式*/
#app,
#app > div {
  width: 100%;
  height: 100%;
}

/*左边导航栏*/
.el-menu .el-submenu .el-submenu__title .el-submenu__icon-arrow {
  line-height: 15px;
  color: #999;
}

.el-menu.is-collapse .el-submenu__icon-arrow {
  position: absolute;
  right: 5px;
}

/*表格*/
#app .el-table thead,
#app .el-table {
  color: #000;
}

#app .el-table td,
#app .el-table th {
  padding: 8px 0;
}

#app .el-table td div.cell > button {
  /*padding: 0;*/
}

#app .el-table td .cell {
  white-space: nowrap;
}

/*导航*/
.el-menu-item,
.el-submenu__title {
  height: 45px !important;
  line-height: 45px !important;
}

/*树*/

#app .el-tree-node__label{
  margin-left: 10px;
}

html .el-tree-node__content {
  height: 35px;
  line-height: 35px;
}

#app .el-tree-node__content {
  height: 40px;
  line-height: 40px;
}

#app .el-tree-node__expand-icon {
  color: #808080;
}

#app .el-tree-node__expand-icon.is-leaf {
  color: transparent;
}

#app .el-tree-node-selected {
  background-color: #F5F7FA;
}

html .custom-tree-node {
  display: inline-block;
  min-width: calc(100% - 20px);
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  padding-right: 8px;
  position: relative;
}

html .custom-tree-node .custom-tree-node-btns {
  position: absolute;
  right: 11px;
  top: 0;
  display: none;
  background-color: #F5F7FA;
  height: 100%;
  padding: 0 10px;
}

html .custom-tree-node:hover .custom-tree-node-btns {
  display: inline-block;
}

/* 滚动条 */
html .el-scrollbar {
  height: 100%;
}

html .layout-left .el-scrollbar .el-scrollbar__wrap {
  overflow-x: hidden;
}

/* 弹出框 */

html .el-dialog__wrapper {
  display: flex;
  align-items: center; /*定义body的元素垂直居中*/
  justify-content: center; /*定义body的里的元素水平居中*/
}

html .el-dialog {
  width: 960px;
  /* position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */

  margin: 0 !important;

  max-height: calc(100% - 30px);
  max-width: calc(100% - 30px);

  display: flex;
  flex-direction: column;
}

html .el-dialog > .el-dialog__body{
  overflow: auto;
  padding: 30px 40px;
}

html .el-dialog > .el-dialog__footer{
  border-top: 1px solid #EBEEF5;
  padding-top: 15px;
}

html .el-dialog > .el-dialog__header{
  border-bottom: 1px solid #EBEEF5;
  padding-bottom: 15px;
}


/* 级联下拉 */
html .el-cascader-menu {
  /* height: 300px; */
}

/* 穿梭框 */
.el-transfer {
  text-align: center;
}

.el-transfer > .el-transfer-panel {
  text-align: left;
}

.form-group-title {
  text-align: left;
  padding-left: 10px;
  line-height: 30px;
  border-bottom: 3px double #ccc;
  margin-bottom: 20px;
  color: #888;
}

#app .el-transfer-panel {
  width: 300px;
}
#app .el-transfer-panel__body {
  height: 300px;
}
#app .el-transfer-panel__list.is-filterable {
  height: 240px;
}

#app .el-checkbox.el-transfer-panel__item {
  margin-right: 0;
  display: block;
  margin: 5px 10px;
}

#app .el-checkbox.el-transfer-panel__item:hover {
  background: #F5F7F0
}

/* 图片上传 */

.hide > .el-upload.el-upload--picture-card {
  display: none;
}

#app .el-upload--picture-card,
#app .el-upload-list__item {
  height: 120px;
  width: 120px;
  margin-bottom: 0;
}

#app .el-upload-list--picture-card {
  height: 0;
}

/* 图片预览 */

.el-image-viewer__btn > .el-icon-circle-close {
  color: #FFF !important;
}

.el-image {
  padding: 5px;
  border: 1px solid #CCC;
  margin-right: 5px;
}

/* 富文本 */

.richtext * {
  max-width: 100% !important;
}

/* 选项卡 */
#app .el-tabs {
    background-color: #FFF;
}

#app .el-tabs__header {
  margin: 0 0 -1px;
}

/* 轮播 */
#app .el-carousel__indicator--horizontal > .el-carousel__button{
  height: 4px;
  width: 30px;
  /* border-radius: 50%; */
}

/** 仅用于 PC端 首页 搜索栏  */
#app .top-logo-query > .search .el-button,
#app .top-logo-query > .search .el-input-group__append {
  background-color: #0A529C;
}

#app .top-logo-query > .search  .el-input-group__append,
#app .top-logo-query > .search  .el-input__inner {
  border-radius: 0;
  border-color: #0A529C;
}

#app .top-logo-query > .search  .el-button {
  color: #FFF;
}

@media screen and (max-width: 450px) {
  /* 轮播 */
  #app .el-carousel__indicator--horizontal > .el-carousel__button{
    height: 8px;
    width: 8px;
    /* border-radius: 50%; */
  }

  #app .main-search .input > .el-input__inner {
    height: 32px;
    line-height: 32px;
  }

  /** 仅用于 手机顶部 搜索栏  */
  #app .header > .header-search > .search .el-button,
  #app .header > .header-search > .search .el-input-group__append {
    background-color: #0A529C;
    overflow: hidden;
  }

  #app .header > .header-search > .search  .el-input-group__append,
  #app .header > .header-search > .search  .el-input__inner {
    border-radius: 16px;
    border-color: #ccc;
  }

  #app .header > .header-search > .search  .el-button {
    color: #FFF;
  }

  html .el-drawer__header {
    margin-bottom: 10px;
  }
}

/* 产品详情 */
.product-news * {
  max-width: 100%;
}

/* 步骤条 */
#app .el-step__description {
  margin-top: 5px;
}

.order-box * {
  border-radius: 0 !important;
}
.el-menu div:nth-child(10){
  /*display: none;*/
}
.v-modal{
  z-index: 80 !important;
}
