@import "../../res.less";

.selectmodal {
  width: 750px;
  height: 614px;
  left: 0px;
  bottom: 614px;
  position: absolute;
  animation: frombottom 300ms forwards;

  .bg {
    width: 750px;
    height: 614px;
    left: 0px;
    top: 0;
    position: absolute;
    // .sparkBg("areaPop/bg.png");
    background-color: #fff;
    border-radius: 10px 10px 0 0;
  }

  .confirmbtn {
    width: 349px;
    height: 90px;
    left: 0px;
    right: 0px;
    top: 500px;
    margin: auto;
    position: absolute;
    .sparkBg("inputInfoModal/inputInfoModalConfirmBtn.png");
  }

  .dateCont {
    width: 685px;
    display: flex;
    position: absolute;
    top: 30px;
    left: calc(50% - 685px / 2);
    text-align: center;
    flex-direction: row;

    &::after {
      content: "";
      width: 722px;
      height: 71px;
      left: -20px;
      top: calc(50% - 60px / 2);
      position: absolute;
    }

    .dates {
      width: calc(100% / 4);
      flex: 1;
      z-index: 1;
    }

    .hours {
      width: calc(100% / 4);
      flex: 1;
      z-index: 1;
    }

    .minutes {
      width: calc(100% / 4);
      flex: 1;
      z-index: 1;
    }

    .street {
      width: calc(100% / 4);
      flex: 1;
      z-index: 1;
    }

    ._date {
      width: 100%;
      height: 380px;

      .dateItem {
        width: 100%;
        height: 79px;
        line-height: 79px;
        color: rgb(116, 116, 116);
        font-size: 36px;
        text-align: center;

        div {
          width: 100%;
          display: inline-block;
          .lineClamp1();
        }

        &.swiper-slide-active {
          font-size: 42px;
          color: black;
          font-weight: 700;
        }
      }
    }
  }

  .close {
    width: 49px;
    height: 49px;
    right: 10px;
    top: -70px;
    position: absolute;
    // background-color: #000;
    .sparkBg("selectModal/closeBtn.png");
  }

  @keyframes frombottom {
    0% {
      bottom: -614px;
    }

    100% {
      bottom: 0px;
    }
  }
}
