.el-input__suffix {
  height: unset;
}
.el-collapse {
  border: none;
}

[class*='el-col-'] {
  min-height: 1px;
}
#RenderTable-container {
  margin-bottom: 20px;
}
#RenderTable-container,
.el-table {
  .el-button--mini {
    padding: 5px;
    color: #409eff;
    border-color: transparent !important;
    background: transparent !important;
    //padding-left: 0;
    //padding-right: 0;
  }
  .el-button--danger.el-button--mini {
    color: #f56c6c;
  }
  .el-button--primary.el-button--mini:focus,
  .el-button--primary.el-button--mini:hover {
    color: #b3d8ff;
  }
  .el-button--danger.el-button--mini:focus,
  .el-button--danger.el-button--mini:hover {
    color: #fbc4c4;
  }
  .el-button--primary.el-button--mini.is-disabled,
  .el-button--primary.el-button--mini.is-disabled:active,
  .el-button--primary.el-button--mini.is-disabled:focus,
  .el-button--primary.el-button--mini.is-disabled:hover {
    color: #ccc;
  }
  .el-button--danger.el-button--mini.is-disabled,
  .el-button--danger.el-button--mini.is-disabled:active,
  .el-button--danger.el-button--mini.is-disabled:focus,
  .el-button--danger.el-button--mini.is-disabled:hover {
    color: #ccc;
  }
}

.el-button--medium {
  padding: 8px 15px;
  margin-top: 3px;
}
.el-button--danger {
  //color:#F56C6C!important;
}
.el-upload__input {
  display: none;
}
.el-dialog {
  //.el-input{
  //  width: 100%!important;
  //  max-width: 100%;
  //}
}
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  padding: 15px 30px;
  z-index: 10;
  border-top: 1px solid #f0f0f0;
  .flex {
    display: flex;
    justify-content: flex-end;
    button {
      margin-left: 20px;
    }
  }
}
.is-fullscreen {
  .el-dialog__header {
    //padding: unset;
  }
  .el-dialog__body {
    padding: unset;
    width: 95vw;
    margin: auto;
    max-height: 100%;
    overflow: hidden;
  }
}
.el-dialog__body {
  padding: 30px 15px;
  width: 96%;
  margin: auto;
  max-height: 55vh;
  overflow: auto;
}
.el-dialog__footer {
  text-align: right;
}
.el-dialog__header {
  font-weight: 600;
  .el-dialog__title {
    font-size: 20px;
    color: #0096fd;
    line-height: 28px;
  }
}

.el-collapse-item__header.is-active {
  border-bottom: 1px solid #ebeef5;
}
// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  border-radius: 10px;
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}
.table-container {
  padding-top: 15px;
}
.container-title {
  height: 30px;
  //border-bottom: 2px  solid  #0096FD;
  //margin-bottom: 20px;
}
.container-title .title {
  padding: 8px 15px;
  font-weight: 500;
  color: #fff;
  background: #0096fd;
  border-radius: 0 15px 0 0;
}
//[class*=" el-icon-"], [class^=el-icon-]{
//  line-height: unset;
//}
.lineH35 {
  line-height: 35px;
}
.lineH25 {
  line-height: 25px;
}
.lineH40 {
  line-height: 40px;
}
.search_btn_s .el-button {
  padding: 5px 8px;
  margin-top: 6px;
}
.el-date-editor.el-input,
.el-input,
.el-select,
.el-cascader {
  width: 100%;
  //max-width: 350px;
}
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  border-radius: 10px;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #c8c8c8;
}
.el-tooltip__popper {
  max-width: 500px;
}
body .el-collapse-item__wrap {
  padding-top: 30px !important;
}
.AdditionalInsurance .cell {
  color: #409eff;
}
.cellClassNo .cell {
  color: #f56c6c;
}
.cellClassYes .cell {
  color: #409eff;
}
.mainInsurance .cell {
  color: #67c23a;
}
.el-form-item__label {
  width: 120px;
  display: flex !important;
  align-items: center;
  height: 40px;
  justify-content: flex-end;
  line-height: 20px;
}
.el-select__tags {
  white-space: nowrap !important;
  overflow: hidden !important;
  // text-overflow: ellipsis!important;
  display: inline-block !important;
}
.el-loading-mask {
  z-index: 9999;
}

.toolBox {
  display: inline-flex;
}
.ellipsis {
  display: inline;
  /*margin: auto;*/
  max-width: 215px;
  height: 24px;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.el-table th {
  background: #ecf5ff;
}
//.el-form-item__content {
//  line-height: 1.7692;
//}
.el-table th > .cell {
  display: block;
}
.el-table th.el-table__cell {
  background: #ecf5ff;
}

.el-card {
  border-radius: 10px;
}

.danger {
  color: #f56c6c !important;
  & :disabled {
    color: rgba(0, 0, 0, 0.25);
  }
  & :hover {
    color: #dd6161;
  }
  & :focus {
    color: #dd6161;
  }
  & :active {
    color: #dd6161;
  }
}

.cursor-pointer {
  cursor: pointer;
}
.view-body {
  text-align: left;
  font-size: 14px;
  padding: 10px;

  div {
    outline: unset;
  }

  /* 添加一些基本的样式以美化 Markdown 内容 */

  p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-top: 24px;
    margin-bottom: 12px;
    border-bottom: 1px dashed #cecece;
    padding: 5px;
  }

  ul,
  ol {
    margin: 16px 0;
    padding-left: 32px;
  }

  li {
    margin-bottom: 8px;
  }

  a {
    color: #007bff;
    text-decoration: none;
  }

  a:hover {
    text-decoration: underline;
  }

  code {
    background-color: #f1f1f1;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
  }

  img {
    max-width: 100%;
  }

  pre {
    background-color: #f1f1f1;
    padding: 16px;
    border-radius: 4px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
  }

  pre code {
    background-color: transparent;
    padding: 0;
  }

  table {
    border: 1px solid #f9f9f9;
    position: relative;
    width: 100%;
    margin: 5px;
    border-collapse: collapse;
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
  }

  th,
  td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
  }

  th {
    background-color: #f2f2f2;
  }

  // 添加斑马条纹效果
  tr:nth-child(even) {
    background-color: #f9fafc;
  }
}

.m-view {
  position: relative;
  padding: 10px;
  // 离开后还原
  &:after {
    content: '';
    position: absolute;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    top: -5px;
    left: -5px;
    background: rgba(201, 203, 255, 0.3);
    transition: all 0.3s ease-in-out;
    opacity: 0; // 初始状态下透明
    border: 2px solid rgb(201, 203, 255);
    border-radius: 5px;
    overflow: hidden;
  }

  &:hover:after {
    opacity: 1; // 悬停时显示
  }
}

.editor-button {
  position: relative;
}

.public-icon {
  font-size: 14px;
  cursor: pointer;
}

.public-icon + .public-icon {
  margin-left: 10px;
}

//去除滚动条
.view-body::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}
