@import '~antd/es/style/themes/default.less';
.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: auto;
  background: @layout-body-background;
}

.lang {
  width: 100%;
  height: 40px;
  line-height: 44px;
  text-align: right;
  :global(.ant-dropdown-trigger) {
    margin-right: 24px;
  }
}

.content {
  flex: 1;
  // padding: 32px 0;
}

@media (min-width: @screen-md-min) {
  .container {
    // background-image: url('https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu.svg');
    background-repeat: no-repeat;
    background-position: center 110px;
    background-size: 100%;
  }

  .content {
    // padding: 32px 0 24px;
  }
}

.top {
  text-align: center;
}

.header {
  height: 44px;
  line-height: 44px;
  a {
    text-decoration: none;
  }
}

.logo {
  height: 44px;
  margin-right: 16px;
  vertical-align: top;
}

.title {
  position: relative;
  top: 2px;
  color: @heading-color;
  font-weight: 600;
  font-size: 33px;
  font-family: Avenir, 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.desc {
  margin-top: 12px;
  margin-bottom: 40px;
  color: @text-color-secondary;
  font-size: @font-size-base;
}

.shortName {
  font-size: 12px;
  position: relative;
  top: 5px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  // left: -4px;
}
.minixName {
  display: block;
}
.popverName {
  display: none;
}
:global(.ant-menu-inline-collapsed-tooltip .panda-pro-layouts-user-layout-minixName) {
  display: none;
}
:global(.ant-menu-inline-collapsed-tooltip .panda-pro-layouts-user-layout-popverName) {
  display: block;
}
:global(.ant-menu-submenu-popup li.ant-menu-item-only-child) {
  height: 30px;
  line-height: 30px;
  padding: 0 14px;
  // margin-bottom: 0px;
}
:global(.ant-layout-sider-collapsed .ant-menu-inline-collapsed .ant-menu-item-only-child.ant-menu-item-selected) {
  border-left: 2px solid @primary-color;
  background-color: @menu-dark-submenu-bg!important;
  transition: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
:global(.ant-menu-submenu-popup li.ant-menu-item-only-child .panda-pro-layouts-user-layout-minixName) {
  display: none;
}
:global(.ant-menu-submenu-popup li.ant-menu-item-only-child .panda-pro-layouts-user-layout-popverName) {
  display: block;
  top: 0!important;
}
:global(.ant-menu-inline-collapsed-tooltip .ant-tooltip-inner) {
  display: flex;
}
:global(.ant-menu-inline-collapsed-tooltip .ant-tooltip-inner a) {
  display: flex;
  align-items: center;
  justify-content: center;
}
:global(.ant-menu-inline-collapsed-tooltip .ant-tooltip-inner a .panda-pro-layouts-user-layout-popverName) {
  padding-left: 4px;
  top: 0;
}


.header-title {
  color: #555;
  text-shadow: none;
  font-weight: 100;
  font-size: 22px;
  vertical-align: middle;
  // padding-left: 80px;
  letter-spacing: 2px;
}

.cityContent {
  
  .siteName {
    padding-right: 5px;
    display: inline;
    flex-grow: 1;
    cursor: pointer;
    text-shadow: none;
    color: #777;
    font-size: 14px;
    vertical-align: middle;
    padding-left: 15px;
    letter-spacing: 2px;
    font-weight: 100;
    span {
      padding-left: 5px;
      text-shadow: none;
      color: #777;
      font-size: 14px;
      vertical-align: middle;
    }
    img {
      margin: 0!important;
    }
  }

  .weatcher {
    border-left: 1px solid rgb(170, 170, 170);
    text-shadow: none;
    color: #777;
    font-size: 14px;
    font-weight: 100;
    vertical-align: middle;
    padding-left: 8px;
    letter-spacing: 2px;
    span {
      padding-left: 5px;
      vertical-align: middle;
    }
    img {
      width: 24px;
    }
  }
}

.stationsWrapper {
  padding: 20px  10px 0 10px;
  max-width: 520px;
  top: 10px;
  .focusStations {
    display: block;
    // padding: 5px 0px;
    border-bottom: 1px dotted rgb(217, 217, 217);
    ul {
      display: flex;
      margin-bottom: 0px;
      flex-wrap: wrap;
      width: 100%;
      margin: 0 auto;
      justify-content: space-between;
      padding: 0;
      padding-bottom: 6px;
      // flex-wrap: wrap;
      li {
        // margin-top: 10px;
        a {
          color: #3f70b5;
          &.city_select {
            cursor: pointer;
          }
          &.showTip {
            position: relative;
          }
          div[imgType] {
            display: inline-block;
            color: #fff;
            text-align: center;
            align-items: center;
            line-height: 20px;
            position: absolute;
            top: -10px;
          }
          div[imgType="县"] {
            width: 30px;
            height: 24px;
            background: url(https://panda-water.cn/web4/assets/images/云平台/县.png) center center no-repeat;
          }
          div[imgType="市"] {
            width: 30px;
            height: 24px;
            background: url(https://panda-water.cn/web4/assets/images/云平台/市.png) center center no-repeat;
          }
          div[imgType="市"] {
            width: 30px;
            height: 24px;
            background: url(https://panda-water.cn/web4/assets/images/云平台/市.png) center center no-repeat;
          }
          div[imgType="HOT"], div[imgType="New"] {
            width: 41px;
            height: 24px;
            background: url(https://panda-water.cn/web4/assets/images/云平台/HOT.png) center center no-repeat;
          }
        }
      }
    }

  }
  .city_pane {
    // padding: 10px;
    ul {
      &.py {
        padding: 0;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        margin-right: -10px;
        margin-left: 4px;
        margin: 0 auto;
        margin-top: -10px;
      }
      li {
        margin-right: 10px;
        .cityLetter, .noData {
          color: #ccc;
          display: inline;
          cursor: pointer;
        }
        .cityLetter {
          &:hover {
            color:#337ab7;
          }
        }
      }
    }
    .cityContent {
      min-width: 350px;
      overflow-y: auto;
      overflow-x: hidden;
      .letter {
        font-size: 24px;
        line-height: 24px;
        font-weight: 700;
        color: #ccc;
        &:hover {
          color: #337ab7;
        }
      }
      .Provice {
        margin-left: 20px;
        display: flex;
        margin-top: 2px;
        .proviceName {
          color: #3d6dcc;
          font-weight: bolder;
          min-width: 36px;
        }
        .city_list {
          margin-left: 10px;
          display: flex;
          margin-right: -5px;
          flex-wrap: wrap;
          flex: 1;
          font-size: 12px;
          padding: 0!important;
          li {
            margin-right: 8px;
            margin-bottom: 6px;
          }
        }
      }
    }
  }
  :global(.ant-spin) {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  

}
:global(.ant-pro-basicLayout .ant-pro-sider-logo h1) {
  display: none;
} 

:global(.ant-layout-sider-collapsed .ant-menu-dark.ant-menu-vertical .ant-menu-item) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 0;
}
:global(.ant-layout-sider-collapsed .ant-menu-dark.ant-menu-vertical .ant-pro-sider-collapsed-button) {
  display: block;
}

:global(.ant-layout-sider-collapsed .ant-menu-vertical > .ant-menu-item) {
  line-height: 14px;
}
:global(.ant-menu-dark .ant-menu-item, .ant-menu-dark .ant-menu-item-group-title, .ant-menu-dark .ant-menu-item > a, .ant-menu-dark .ant-menu-item > span > a) {
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
:global(.ant-menu-inline-collapsed .ant-menu-item > a) {
  width: 48px;
}
:global(.ant-menu-inline-collapsed .ant-menu-submenu.ant-menu-submenu-vertical) {
  display: flex;
  align-items: center;
}

:global(.ant-menu-inline-collapsed .ant-menu-submenu.ant-menu-submenu-vertical .ant-menu-submenu-title) {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  flex-wrap: inherit!important;
  padding: 0;
  width: 100%;
  line-height: 24px;
}

:global(.ant-menu-inline-collapsed .ant-menu-submenu.ant-menu-submenu-vertical .ant-menu-submenu-title img) {
  margin-right: 0px!important;
}