@import "mixins/mixins";
@import "common/var";

@include b(routebook) {

  .routebook-map-box {
    position: relative;
    width   : 100%;
  }

  .yk-ml8 {
    margin-left: 8px;
  }

  .yk-flex-c {
    display        : flex;
    justify-content: center;
    align-items    : center;
  }

  .play-icon {
    width        : 24px;
    height       : 24px;
    background   : rgba(44, 40, 54, 0.56);
    border-radius: 4px;
  }

  .routebook-progress {
    border-radius: 4px;
    height       : 24px;
    background   : rgba(44, 40, 54, 0.56);
    flex: 1;
    padding: 0px 8px;
  }

  .routebook-rm {
    height     : 24px;
    padding-top: 4px;
  }

  .play-crl {
    position     : absolute;
    bottom       : 8px;
    width        : 100%;
    align-items  : center;
    box-sizing   : border-box;
    padding      : 0 16px;
    /* background: rgba(44, 40, 54, 0.56); */
  }

  // .anchorBL {
  //   display: none;
  // }



  .get-position {
    position     : absolute;
    right        : 10px;
    top          : 10px;
    display      : block;
    width        : 25px;
    height       : 25px;
    background   : #fff;
    border-radius: 5px;
    box-shadow   : 0 0 10px 0 rgba(0, 0, 0, 0.1);
    cursor       : pointer;
  }

  .get-position.disabled {
    cursor : not-allowed;
    opacity: 0.7;
  }

  .get-position.disabled:active {
    cursor    : not-allowed;
    background: #fff;
  }

  .get-position:active {
    background: #ccc;
  }

  .get-position:before {
    display      : block;
    content      : "";
    width        : 12px;
    height       : 12px;
    background   : #666;
    border-radius: 50%;
    position     : absolute;
    left         : 50%;
    top          : 50%;
    transform    : translate(-50%, -50%);
  }

  .slot-container {
    position   : absolute;
    min-width  : 200px;
    top        : 0;
    /*transform: translate(-50%, -50%);*/
    left       : 0;
    z-index    : -1;
  }

  .slot-popcard-container {
    position : absolute;
    min-width: 288px;
    top      : 0;
    left     : 0;
    z-index  : -1;
  }

  .routebook-flex {
    display    : flex;
    align-items: center;
    display    : -webkit-flex;
  }

  // .player-control {
  //   padding   : 10px;
  //   background: #353535;
  // }

  // .left {
  //   align-items: center;
  // }

  // .left img {
  //   cursor: pointer;
  // }

  // .playLR {
  //   width : 15px;
  //   height: 12px;
  //   margin: 0 10px;
  // }

  .routebook-speed-info {
    background   : rgba(255, 255, 255, 0.76);
    border-radius: 4px;
    position     : absolute;
    right        : 20px;
    bottom       : 40px;
    border-radius: 5px;
    padding      : 6px;

    ul,
    li {
      list-style: none;
      padding   : 0;
      /* color  : #fff; */
      color     : #2c2836;
      margin    : 0;
      font-size : 12px;
    }

    li {
      display    : flex;
      align-items: center;
      margin     : 10px 0;
    }

    span {
      display      : inline-block;
      width        : 12px;
      height       : 12px;
      border-radius: 50%;
      margin-right : 10px;
    }
  }
  .routebook-select {
    background   : rgba(44, 40, 54, 0.56);
    border-radius: 4px;
    border-color : rgba(44, 40, 54, 0.56);
    color        : #fff;
    font-size    : 14px;
    height: 24px;
    border: 0px;
    padding: 0px 4px;
    cursor: pointer;
  }
  .routebook-select:focus {
    border: 0px;
  }
}