@import '../../../theme/styles/default.less';
@import './variable.less';

@{card-self-prefix} {
  display: inline-block;
  background-color: @page-header-bg;
  width: 100%;
  cursor: pointer;
  display: inline-block; 
  width: 100%;
  cursor: pointer; 
  border-radius: 4px;
  margin: 0 0 15px 0;

  .cardself {
    width: 100%;
    height: 100%;
    padding: 10px 20px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    font-size: 14px;
    color: #323232;
    border-radius: 4px;

    .number {
      font-size: 16px;
      color: #9b9b9b;
      position: absolute;
      margin: -14px 0 0 -0px;
    }

    .type {
      width: 30px;
      height: 30px;
      left: -20px;
      bottom: -21px; 
      background-size: 100%;
      background-position: -1px 2px;
      position: relative;
    }



    .item {
      padding: 0 10px 0 40px;

      label:nth-child(1) {
        display: inline-block;
        width: 100%;
        color: #323232;
        text-align: left;
      }

      label:nth-child(2) {
        font-size: 20px;
        color: @primary-color;
        display: inline-block;
        padding: 0 8px 0 0;
      }

      label:nth-child(3) {
        font-size: 12px;
        color: #9b9b9b;
      }
    }

    .itemDate {
      padding: 0 40px 0 10px;
      display: flex;
      .icon{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        display: flex;
        padding: 0 10px 0 0;
        color: @primary-color;
      }
      div {
        label:nth-child(1) {
          font-size: 12px;
          color: #9b9b9b;
          display: inline-block;
          padding: 0 8px 0 0;
        }
      }
    }

    .itemList {
      ul {
        list-style: none;
        margin: 0;
        padding: 0;

        li {
          margin: 0;
          padding: 0 15px;
          float: left;

          text-align: center;

          label:nth-child(1) {
            width: 100%;
            display: inline-block;
            color: @primary-color;
          }

          label:nth-child(2) {
            font-size: 12px;
            color: #9b9b9b;
            width: 100%;
            display: inline-block;
          }
        }
      }
    }

    .applyDate {
      flex: 1;
      text-align: right;
      div{
        float: right;
      }
      div:nth-child(2){
        padding: 0 10px 0 0;
        color: #9b9b9b; 
      } 
      label:nth-child(1) {
        font-size: 12px;
        color: #9b9b9b;
        margin-right: 8px;
      }
    }
  }

  .cardself:hover {
    border-radius: 4px;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
    background-color: #ffffff
  } 
}
