/* 声明 CSS 变量  */
:root {
    --primary-color: #1668b1;
    --primary-d: #1668b1;
    --primary-bg: #1668b1;
    --primary-bg-s: #1668b1;
    --background-color: #fff;
    --vw: 1px;
  }
  .color_primary {
    color: var(--primary-color);
  }
  .background_primary {
    background: var(--primary-color);
  }
  
  *::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
    height: 13px;
  }
  *::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 13px;
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: var(--primary-color);
  }
  *::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 13px;
    background: #ededed;
  }
  input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.8);
  }
  input:-moz-placeholder {
    color: rgba(255, 255, 255, 0.8);
  }
  input::-moz-placeholder {
    color: rgba(255, 255, 255, 0.8);
  }
  input:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.8);
  }
  
  html {
    background: var(--background-color);
  }
  #app {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: var(--background-color);
    color: #fff;
  }
  header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 50;
  }
  main {
    background: var(--background-color);
  }
  .main_width {
    margin: auto;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .tool_toastk {
    /* var(--vw):1px; */
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    position: fixed;
    z-index: 100;
    border-radius: 6px;
    top: 60px;
    /* top:50%; */
    left: 50%;
    transform: translateX(-50%);
    /* transform: translateX(-50%) translateY(-50%); */
    margin: auto;
    height: 44px;
    line-height: 44px;
    color: #fff;
  }
  .tool_toastk .tool_err_toast {
    background: rgba(222, 49, 81, 0.78);
  }
  .tool_toastk .tool_succ_toast {
    background: rgba(20, 19, 19, 0.78);
  }
  .tool_toastk .tool_toast_text {
    font-size: 14px;
    line-height: 1.2;
  }
  
  .tool_confimk {
    /* var(--vw):1px; */
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
  }
  .tool_confimk .tool_confim_mould {
    position: fixed;
    z-index: 100;
    border-radius: 6px;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    margin: auto;
    width: 300px;
    box-shadow: 0 1px 3px rgb(0 0 0 / 30%);
  }
  .tool_confim_mould .tool_confim_text {
    font-size: 16px;
    padding: 38px 18px 31px;
    text-align: center;
    letter-spacing: 0.5px;
    color: #666;
  }
  .tool_confim_mould .tool_confim_btns {
    border-top: 1px solid #e2e2e2;
    display: flex;
    height: 50px;
    line-height: 50px;
  }
  .tool_confim_btns .tool_confim_btn {
    flex: 1;
    width: 50%;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
  }
  .tool_confim_btn .tool_confim_btn_cancel {
    color: #666;
  }
  .tool_confim_btn .tool_confim_btn_submit {
    border-left: 1px solid #e2e2e2;
    color: var(--primary-color);
  }
  
  .tool_loading {
    /* var(--vw):1px; */
    display: none;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
  }
  @keyframes load_rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  .tool_loading_img {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 52px;
    height: 52px;
    transform-origin: center center;
    animation: load_rotate 1s infinite linear;
  }
  .tool_loading_text {
    position: fixed;
    z-index: 100;
    top: (52 * 2+10)px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
    height: 50px;
    color: #fff;
  }
  
  .inputk .input_label {
    font-size: 14px;
    padding-bottom: 7px;
  }
  
  .inputk .input_box {
    position: relative;
  }
  .input_box .input {
    width: 100%;
    height: 42px;
    padding: 0 22px 0 15px;
    background: transparent;
    border: 1px solid #f2f2f2;
    font-size: 14px;
    border-radius: 6px;
    color: #fff;
  }
  .input_box .input:focus {
    border: 1px solid #fff;
  }
  .input_phonearea {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    padding-left: 15px;
    font-size: 14px;
    cursor: pointer;
    height: 52px;
    line-height: 52px;
  }
  .input_phonearea_icon {
    width: 12px;
    margin-left: 4px;
  }
  .input_getcode {
    position: absolute;
    right: 0;
    top: 0;
    height: 41px;
    line-height: 41px;
    padding-right: 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.1s linear;
  }
  .textarea {
    width: 100%;
    height: 170px;
    font-size: 14px;
    color: #fff;
    border-radius: 6px;
    background: transparent;
    resize: none;
    border: 1px solid #3e3e3e;
    padding: 13px 15px;
    line-height: 1.4;
  }
  .textarea_num {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 12px;
    color: #6f6f6f;
  }
  
  /* 媒体查询适配 */
  /* @media screen and (max-width: 1200px) {
    
  }
  @media screen and (min-width: 1200px) {
    
  }
  @media screen and (min-width: 1440px) {
    
  }
  @media screen and (min-width: 1680px) {
    
  }
  @media screen and (min-width: 1920px) {
    
  } */
  @media screen and (max-width: 1200px) {
    .main_width {
      width: 1000px;
    }
  }
  @media screen and (min-width: 1200px) {
    .main_width {
      width: 1000px;
    }
  }
  @media screen and (min-width: 1440px) {
    .main_width {
      width: 1220px;
    }
  }
  @media screen and (min-width: 1680px) {
    .main_width {
      width: 1440px;
    }
  }
  @media screen and (min-width: 1920px) {
    .main_width {
      width: 1680px;
    }
  }