//@import './assets/style/base.less';
//@import "./assets/style/colors.scss";
.page {
  background-color: #F8F8F8;
  width: 100vw;
  height: 100vh;
  .online-card-popup {
    .online-card-title {
      margin: 0 auto;
      width: 80%;
      background-color: #3f8cf4;
      text-align: center;
      font-size: 16px;
      margin-top: 2px;
      padding: 5px;
      color: #fff;
      border-bottom-right-radius: 5px;
      border-bottom-left-radius: 5px;
    }
    .card-info {
      text-align: center;
      color: #3f8cf4;
      font-size: 14px;
      .name {
       padding: 5px;
      }
      .num {
        padding: 5px;
      }
    }
  }
  ._page {
    width: 100%;
    .icon-style-address {
      color: #3f8cf4;
    }
    .page-header {
      position: relative;
      width: 100%;
      img {
        width: 100%;
        height: 180px;
      }
      .header-card {
        overflow: hidden;
        /*padding: 20px;*/
        background-color: #fff;
        position: absolute;
        //height: 65px;
        height: auto;
        /*margin: 0 20px;*/
        left: 15px;
        right: 15px;
        bottom: -30px;
        /*border: 1px solid pink;*/
        box-shadow: 2px 2px 10px rgba(196,196,194,0.769);
        border-radius: 8px;
        padding: 0 20px;
        display: flex;
        justify-content: flex-start;
        .header-logo {
          display: flex;
          justify-content: center;
          align-items: center;
          margin-right: 10px;
          ////float: left;
          //background-color: pink;
          //width: 40px;
          //height: 40px;
          img {
            width: 40px;
            height: 40px;
          }
        }
        .header-info {
          //float: left;
        }
        .card-info-address {
          margin-bottom: 10px;
          font-size: 10px;
          margin-left: 25px;
          //padding: 10px;
          /*font-weight: 600;*/
        }
        .icon-style-hospital {
          position: absolute;
          bottom: -5px;
          right: -5px;
          font-size: 50px;
          color: rgb(201,214,231);
        }
        .card-info-title {
          line-height: 40px;
          font-size: 15px;
          font-weight: 600;
          margin-left: 25px;
        }
      }
    }
  }
  .page_body {
    height: auto;
    overflow: hidden;
    margin-bottom: 50px;
    .page-content {
      background-color: #fff;
      padding: 11% 20px 8px 15px;
      height: auto;
      margin-bottom: 10px;
      &:nth-child(2) {
        padding: 2% 20px 10px 15px;
        /*background-color: pink;*/
      }
      &:nth-child(3) {
        padding: 2% 20px 0 15px;
        /*background-color: pink;*/
      }
      .title {
        font-size: 15px;
        line-height: 35px;
        color: #3f8cf4;
      }
      .content {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-content: flex-start;
        .item {
          width: 21%;
          height: 60px;
          margin-bottom: 10px;
          .item-icon {
            width: 100%;
            height: 80%;
            display: flex;
            justify-content: center;
            align-items: center;
          }
          .item-text {
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 13px;
            color: #333;
          }
        }
      }
      .box {
        width: 100%;
        //height: 40px;
        //margin: 0 auto;
        //border: 2px solid #3f8cf4;
        font-size: 10px;
        color: #000;
        display: inline-block;
        overflow: hidden;
      }
      .animate {
        padding-left: 20px;
        font-size: 10px;
        color: #000;
        display: inline-block;
        white-space: nowrap;
        animation: 30s wordsLoop linear infinite normal;
      }
      @keyframes wordsLoop {
        0% {
          transform: translateX(60%);
          -webkit-transform: translateX(60%);
        }
        100% {
          transform: translateX(-60%);
          -webkit-transform: translateX(-60%);
        }
      }
      @-webkit-keyframes wordsLoop {
        0% {
          transform: translateX(60%);
          -webkit-transform: translateX(60%);
        }
        100% {
          transform: translateX(-60%);
          -webkit-transform: translateX(-60%);
        }
      }
    }
  }
  .icon-style-common {
    font-size: 30px;
  }
  .page-header {
    width: 100%;
    position: relative;
    img {
      width: 100%;
      height: 90px;
    }
    .page-heard-card {
      overflow: hidden;
      /*padding: 20px;*/
      background-color: #fff;
      position: absolute;
      // TODO
      height: 90px;
      /*margin: 0 20px;*/
      left: 15px;
      right: 15px;
      bottom: -40px;
      /*border: 1px solid pink;*/
      box-shadow: 2px 2px 10px rgba(196,196,194,0.769);
      border-radius: 8px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 15px;
      &.tips {
        justify-content: space-around;
      }
      .logo {
        margin-left: 15px;
        img {
          width: 50px;
          height: 50px;
        }
      }
      .patient-info {
        flex-shrink: 0;

        margin-left: 15px;
        .patient-name {
          color: #333;
          font-size: 16px;
          line-height: 25px;
        }
        .card-no {
          font-size: 12px;
          line-height: 20px;
        }
      }
      .patient-qrcode {
        margin-left: 15px;
        width: 60px;
        height: 60px;
        text-align: center;
        span {
          font-size: 10px;
          color: #3f8cf4;
        }
        //background-color: pink;
        .iconfont {
          font-size: 1.3rem;
          color: #999;
        }
      }
    }
  }
  .page-btn {
    margin: 11% 20px 0 20px;
    height: 50px;
    /*background-color: pink;*/
    display: flex;
    justify-content: space-between;
    .btn {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 15px;
      color: #49596C;
      .icon {
        .icon-style-btn {
          font-size: 15px;
        }
      }
      .text {
        margin-left: 10px;
      }
    }
  }
  .page-body {
    /*padding: 15px;*/
    .page-content {
      background-color: #fff;
      padding: 15px;
      margin-bottom: 10px;
      .title {
        font-size: 15px;
        margin-bottom: 8px;
      }
      .content {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        .item {
          width: 21%;
          height: 57px;
          .item-icon {
            width: 100%;
            height: 75%;
            display: flex;
            justify-content: center;
            align-items: center;
          }
          .item-text {
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 13px;
            color: #333;
          }
        }
      }
    }
  }
  .icon-style-common {
    font-size: 30px;
  }
  .hospital-info {
    background-color: #fff;
    padding: 11% 12px 0 12px;
    .hospital-info-header {
      width: 100%;
      height: 60px;
      /*background-color: pink;*/
      display: flex;
      justify-content: space-between;
      .hospital-info-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 46%;
        height: 100%;
        background-color: #F1F7FF;
        box-shadow: 1px 2px 3px rgba(196,196,194,0.769);
        border-radius: 8px;
        font-size: 16px;
        .hospital-info-btn-icon {
          font-size: 28px;
          margin-right: 10px;
          color: #3f8cf4;
        }
      }
    }
    .hospital-info-body {
      margin-top: 8px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      .item {
        width: 21%;
        height: 57px;
        margin-bottom: 10px;
        .item-icon {
          width: 100%;
          height: 80%;
          display: flex;
          justify-content: center;
          align-items: center;
        }
        .item-value {
          display: flex;
          justify-content: center;
          align-items: center;
          font-size: 13px;
          color: #333;
        }
      }
    }
  }
}