@import 'app/style/default.scss';

.FilterSearch {
  width: 100%;
  background-color: #FFFFFF;
  position: fixed;
  top: 45px;
  overflow: hidden;
  ul {
    width: 100%;
    overflow: hidden;
    li {
      width: 50%;
      position: relative;
      margin-top: pxToRem(40);
      font-size: pxToRem(30);
      color: #555555;
      float: left;
      padding-bottom: 1px;
      label {
        display: block;
        width: 75%;
        margin-left: 7%;
        margin-bottom: pxToRem(20);
        color: #555;
        font-size: 15px;
      }
      .am-list-item .am-list-line .am-list-arrow {
        height: 0;
        width: 0;
        border-top: pxToRem(13) solid #787878;
        border-left: pxToRem(10) solid transparent;
        border-right: pxToRem(10) solid transparent;
        border-radius: 1px;
      }
      .beginDate, .endDate {
        width: 75%;
        margin-left: 7%;
        :global {
          .am-list-item {
            height: pxToRem(76);
            line-height: pxToRem(76);
            min-height: 30px;
            border-radius: size(5);
            border: 1px solid #dddddd;
            padding-left: 0;
            text-align: center;
            .am-list-extra {
              -webkit-flex-basis: 100%;
              flex-basis: 100%;
              font-size: pxToRem(28);
              padding-top: 0;
              padding-bottom: 0;
              text-align: center;
              color: #555555;
            }
          }
        }
      }
      select {
        width: 75%;
        height: pxToRem(76);
        line-height: pxToRem(76);
        margin-left: 7%;
        border-radius: size(5);
        border: 1px solid #dddddd;
        color: #555555;
        font-size: pxToRem(30);
        appearance: none;
        -webkit-appearance: none;
        padding-left: pxToRem(30);
        background: $white;
      }
      .select-down {
        position: absolute;
        right: 25%;
        bottom: 20%;
        -webkit-transform: translateY(-55%);
        transform: translateY(-55%);
        height: 0;
        width: 0;
        border-top: pxToRem(13) solid #787878;
        border-left: pxToRem(10) solid transparent;
        border-right: pxToRem(10) solid transparent;
        border-radius: 1px;
      }
    }
  }
  .buttonArea {
    position: relative;
    width: 100%;
    margin-top: pxToRem(39);
    height: pxToRem(88);
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    &::before{
      @include borderTop(#EAEAEA)
    }
    .reset {
      height: pxToRem(88);
      line-height: pxToRem(88);
      width: pxToRem(130);
      color: #555555;
      text-align: center;
      font-size: 18px;
    }
    .okOrCancelBtn {
      display: -webkit-flex;
      display: flex;
      height: 100%;
      font-size: pxToRem(36);
      text-align: center;
      .cancelBtn {
        width: pxToRem(191);
        color: #309fea;
        height: 100%;
        line-height: pxToRem(88);
      }
      .okBtn {
        height: 100%;
        line-height: pxToRem(88);
        width: pxToRem(250);;
        background-color: #309FEA;
        color: #FFFFFF;
      }
    }
  }
}