@import '~antd/es/style/themes/default.less';

html,
body,
#root {
  height: 100%;
}

.colorWeak {
  filter: invert(80%);
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

ul,
ol {
  list-style: none;
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

.ant-layout-header .ant-pro-global-header{
  background:#393C39;
  border-bottom: 0.6px solid rgb(156, 153, 153);
}
.ant-layout .ant-pro-sider-menu-sider.light .ant-pro-sider-menu-logo{
  background:#EF273A;
  box-shadow: none;
  border: none;
  a{
    h1{
      color: #fff;
    }
  }
}
.antd-pro-layouts-user-layout-container{
  .ant-input-affix-wrapper .ant-input-prefix{
    left:7px;
  }
  .ant-input-affix-wrapper .ant-input:not(:first-child) {
    padding-left: 40px;
  }
}
 
.ant-layout{
  .ant-menu-vertical .ant-menu-item,
.ant-menu-vertical-left .ant-menu-item,
.ant-menu-vertical-right .ant-menu-item,
.ant-menu-inline .ant-menu-item,
.ant-menu-vertical .ant-menu-submenu-title,
.ant-menu-vertical-left .ant-menu-submenu-title,
.ant-menu-vertical-right .ant-menu-submenu-title,
.ant-menu-inline .ant-menu-submenu-title,
.ant-input ,.ant-btn,.ant-select,.ant-table,.ant-form-item,.ant-form label,.ant-tabs-nav-container {
  font-size: 0.096rem;
  
}
.ant-input{
  height: 32px;
  border-radius: 4px;
  padding: 0 0 0 10px;
  align-items: center;
}
.ant-radio-button-wrapper{
  color: #FF7E48;
  border: 1px solid #FF7E48;
}
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
  color: #fff;
  background: #FF7E48;
  border-color: #FF7E48;
  box-shadow: none;
}
.ant-radio-button-wrapper:not(:first-child)::before{
  background: #FF7E48;
}
.ant-radio-button-wrapper:first-child {
  border-left: 1px solid #FF7E48;
}
.ant-radio-button-wrapper:hover{
  border-color: #FF7E48;
  color: #FF7E48; ;
}
.ant-row.ant-form-item .ant-form-item-label.ant-col-sm-3{
  min-width: 100px;
}
.ant-card-body{
  padding: 0;
}
.antd-pro-pages-index-echarts-styles-pie,.antd-pro-pages-index-echarts-styles-bar{
  padding: 40px;
  margin-bottom: 40px;
}
.ant-breadcrumb{
  font-size: 0.096rem;
  .anticon {
    font-size: 0.096rem;
  }
} 
  .ant-pro-global-header-trigger{
    display: none;
  }
  .ant-pro-sider-menu-sider.light{
    box-shadow: none;
    .ant-pro-sider-menu-logo h1{
      color: #fff;
    }
  }
  .ant-pro-page-header-wrap-page-header-warp{
    background:rgba(240,240,240,1);
  }
   .ant-menu:not(.ant-menu-horizontal)  .ant-menu-item-selected{
    background:rgb(230, 227, 227)!important;
    border: none!important;
  }
  .ant-menu-inline .ant-menu-selected::after, .ant-menu-inline .ant-menu-item-selected::after{
    opacity: 0;
  }
  .ant-menu-inline > .ant-menu-item{
    height: 45px;
    line-height: 45px;
    
    margin: 0;
    .ant-menu-submenu-title{
      font-size: 16px!important;
    }
  }
  .ant-menu.ant-pro-sider-menu{
    padding: 0!important;
  }
  
  .ant-breadcrumb + .ant-page-header-heading{
    display: none;
  }
  .ant-page-header{
    height: 50px;
    padding:0 30px;
    line-height: 50px;
    
    .ant-breadcrumb{
      color: #333;
    }
  }
  .ant-pro-sider-menu-logo img{
    height: 41px;
  }
  .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active {
    color: #FF7E48;
  }
  .ant-table{
    line-height: 3;
  }
  .ant-modal-header{
    border-bottom: none;
    .ant-modal-title{
      font-size: 24px;
      line-height: 50px;
    }
  }
  .ant-modal-footer{
    border-top:none;
  }
}
:global {
  .ant-layout {
    min-height: 100vh;
    background-color: #f8f8f8;
    height: fit-content!important;
  }  
}
