.governance-content {
  position: relative;
  padding: 24px;

  .container {
    .description {
      margin-bottom: 20px;
      color: @font-color;
    }
    .warning{
      margin-bottom: 20px;
    }
    .amount {
      .ant-form-item {
        margin: 0;
      }
      .available {
        position: relative;
        margin: 5px 0 20px 0;
        span {
          color: @font-color;
        }
        .available-amount {
          position: absolute;
          right: 0;
          bottom: 0;
        }
      }
    }
    .ant-btn {
      width: 100%;
      margin: 24px 0 -24px 0;
    }
    .row {
      .ant-form-item {
        display: inline-block;
        width: 48%;
      }
      .ant-form-item:first-of-type {
        margin-right: 4%;
      }
      .ant-form-item-label {
        width: 100%;
      }
    }
    .ant-list-item {
      cursor: pointer;
      padding-bottom: 60px;
      padding-top: 4px;
      margin-bottom: 7px;
      margin-top: 4px;
      position: relative;
      display: flex;
      min-height: 120px;


      .deposit-progress-list{
        position: relative;
        top: 12px;

        .ant-progress-circle-trail{
          stroke: #e7e7e7;
        }

        .ant-progress-text{
          font-size: 11px;
        }
      }
    }
  }

  .back-button {
    margin: 24px 0;
  }

  .time-container{
    position: absolute;
    float: right;
    right: 0;
    bottom: 7px;

    .time-area{
      position: relative;
      display: inline-block;
      margin-top: 12px;
      letter-spacing: -0.1px;
        font-size: 11px;

      .time-label{
        position: relative;
        font-weight: 400;
      }

      .time{
        position: relative;
        font-weight: 700;
      }
    }
  }
}

#create-proposal-btn {
  position: absolute;
  top: 0;
  right: 38px;
  z-index: 5;
  display: inline-block;
  width: 180px;
  margin-top: 85px;
}

.ant-layout-content .proposal-detail {
  background: #fff;
  .title {
    margin-top: 16px;
    font-size: 24px;
  }
  .description {
    max-width: 800px;
    color: @font-color;
  }
  .item {
    margin: 0;

    .label {
      color: @font-color;
    }

    .address {
      padding: 10px 8px;
      background: #f0f0f0;
      border-radius: 4px;
    }
  }
  .ant-layout,
  .ant-layout-sider {
    background: #fff;
  }
  .ant-layout {
    margin: 10px;

    .ant-layout-content {
      margin: 0 10px;

      .description {
        white-space: pre-line;
      }
    }
  }

  .ant-card-head-title {
    color: @azure;
  }

  .vote-result-section {
    padding-bottom: 10px;
  }

  .ant-radio-group {
    width: 100%;
    text-align: center;

    .ant-radio-button-wrapper {
      display: block;
      height: 46px;
      margin-bottom: 8px;
      line-height: 46px;
      border: 1px solid #d9d9d9;
      border-radius: @border-radius;

      &::before {
        width: 0;
      }
    }
    .ant-radio-button-wrapper-checked {
      border: 1px solid @azure;
    }
  }
}

#voting-history-section {
  #votingHistoryBtn {
    position: relative;
  }

  .voting-history-title {
    margin: 0;
  }

  .header-description {
    margin-bottom: 32px;
  }

  .proposalTitle {
    font-size: 14px;
  }

  .proposalNo {
    margin-right: 6px;
    font-size: 14px;
  }

  .ant-table {
    .ant-table-thead > tr > th {
      padding: 24px 20px;
      color: #626973;
    }

    td.ant-table-column-sort,
    .ant-table-thead th.ant-table-column-sort {
      background-color: #fff;
    }

    .ant-table-tbody .ant-table-cell {
      padding: 24px 20px;

      .ant-btn:not(.ant-upload-list-item-card-actions-btn) {
        margin: 0;
        padding: 0;
      }
    }
  }
}

.ant-layout-header.create-proposal-header {
  position: relative;
  display: inline-block;
  margin-top: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 12px !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  background-color: #fff;
}

.instructions {
  position: relative;
  display: block;
  color: #444;
  font-size: 13px;
  margin-bottom: 32px;
  letter-spacing: -0.1px;
  background-color: #F7F9FA;
  padding: 8px 14px;
}

.create-proposal-form {
  .ant-input-number-group-wrapper {
    position: relative;
    display: block;
    width: 100%;
  }

  .avail-bal-container {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 20px;
    font-size: 13px;
    border-bottom: 1px solid #fcfcfc;

    .avail-bal-txt {
      position: relative;
      display: inline-block;
      color: #888;
    }

    .avail-bal-val {
      position: relative;
      display: inline-block;
      float: right;
      color: #000;
    }
  }

  .note {
    position: relative;
    display: flex;
    width: 100%;
    margin-top: 0;
    margin-bottom: 12px;

    .icon {
      font-size: 14px;
    }

    .txt {
      position: relative;
      top: -4px;
      display: inline-block;
      width: auto;
      margin-left: 8px;
      font-size: 14px;
    }
  }

  .warning {
    color: #d9475a;
  }
}

.create-proposal-success-modal{
  .info{
    position: relative;
    display: block;
    color: #777;
    margin-top: 12px;
    margin-bottom: 42px;
    line-height: 17.2px;
  }

  ul{
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 32px;

    li{
      position: relative;
      display: block;
      margin-bottom: 8px;

      div{
        display: inline-block;
        width: 50%;
        text-align: left;
        font-size: 17px;
      }

      .right{
        float: right;
        text-align: right;
      }
    }
  }
}

.proposal-details-header{
  position: relative;
  display: block;
  margin-top: 72px !important;

  .top{
    position: absolute;
    top: -20px;
    font-size: 12px;
    color: #bbb;
    letter-spacing: -0.2px;
    font-weight: 700;
  }
}

.top-proposal-container{
  position: absolute;
  padding: 0 38px;
  float: right;
  right: 0;
  top: 88px;

  .title{
    font-size: 15px;
    color: #0B1426;
    letter-spacing: 0.1px;
    display: inline-block;
    max-width: calc(100% - 200px);
  }

  .item{
    position: relative;
    display: inline-block;
    float: right;
  }
}

.proposal-back-btn{
  position: absolute;
  margin: 7px 24px;
  font-size: 16px;
  top: 7px;
  width: 100%;
}

.create-proposal-success-btn{
  margin-bottom: 32px;
}

.progress-info{
  position: relative;
  display: block;
  font-size: 12px;
  margin-top: 6px;
  margin-bottom: 12px;

  .right{
    position: relative;
    float: right;
    color: #323C52;
  }
}

.deposit-progress{
  .ant-progress-inner{
    border-radius: 0px !important;
  }

  .ant-progress-bg{
    height: 16px !important;
    border-radius: 0px !important;
    transition: all 0.6s cubic-bezier(0.08, 0.82, 0.17, 1) 0.4s;
  }
}


.date-container{
  position: relative;
  display: flex;
}

.info-area{
  position: relative;
  display: inline-block;
  width: 48%;
  margin: 20px 1%;
  font-size: 15px;
  min-width: 172px;

  .txt{
    color: #888;
    letter-spacing: -0.1px;
    font-size: 15px;
    margin-bottom: -5px;
  }
}

.proposal-id{
  margin-bottom: 42px;
}

.submit-proposal-btn{
  margin-top: 42px;
  margin-bottom: 12px;
}

.deposit-proposal-modal{
  .title{
    position: relative;
    display: block;
    margin-bottom: 6px;
  }
  .description{
    position: relative;
    display: block;
    margin-bottom: 20px;
  }

  .row{
    margin-bottom: 20px;
  }

  .field{
    color: #737c8f;
  }

  .ant-modal-footer{
    text-align: center !important;
    padding-bottom: 20px;
  }
}

.proposal-type{
  position: absolute;
  bottom: 7px;
  left: 10px;
  letter-spacing: -0.1px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
}

.deposit-card-header{
  position: relative;
  display: block;
  width: 100%;
  font-size: 18px;
  padding: 0 ;
  margin-bottom: 12px;

  span{
    font-size: 13px !important;
    color: #777;
  }
}

@media screen and (max-width: 1200px) {
  .date-container{
    display: block;

    .info-area{
      display: block;
    }
  }
}
