html {
    overflow-x: hidden;
    touch-action: pan-y; 
  }
  .mdiv{
      display: flex;
  }
  
  .mlf{
      width: calc(100% - 20rem);
      border: 1px solid #e8e8fd;
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: center;
      align-items: center;
  }
  
  .mlf div.tuxings{
      width: 300px;
      height: 300px;
  }
  
  .mlf div.tuxings canvas{
      width:100%;
      height: 100%;
  }
  
  .mlr{
      width:20rem;
      padding-left: 0.75rem;
      float:right;
  }
  .mlr>div{
      padding: 0.25rem;
      border: 1px solid #e8e8fd;
      margin-bottom: 0.75rem;
      border-radius: 4px;
  }
  
  .mlr>div:last-child{
      margin-bottom: 0rem;
  }
  
  .mlr>div>span{
      display: block;
      padding: 0.5rem 0;
      font-size: 0.65rem;
      cursor: pointer;
  }
  
  .mlr>div>span i{
      font-size: 0.65rem;
      margin-right: 0.25rem;
      font-weight: bold;
  }
  
  .mlr>div>div{
      display: none;
  }
  
  .repeat_c{
      display: none;
  }
  
  .night .mlr>div{
      border:1px solid #444;
  }
  
  .night .mlf{
      border: 1px solid #444;
  }
  
  .butdivbut{
      height: 1.8rem;
      line-height: 1.8rem;
      border: 1px solid #06b672;
      text-align: center;
      margin: 0.5rem 0 0.5rem 0;
      cursor: pointer;
      background-color: #06b672;
      color: #fff;
      border-radius: 3px;
  }
  .layui-colorpicker{
      border-top: 0;
      border-bottom: 0;
      padding: 0.25rem 0.25rem 0.25rem 0.25rem;
      border-right: 0;
  }
  .night .layui-colorpicker{
      border: 1px solid #444;
      border-top: 0;
      border-bottom: 0;
      border-right: 0;
      background-color: #181a1b;
  }
  .colorselect{
      margin-bottom: 0 !important;
      margin-right: 0 !important;
      display: inline-block !important;
      float: left;
      clear: none !important;
  }
  .color_inp{
      border-top: 0;
      border-right: 0px;
      border-bottom: 0px;
      width: calc(100% - 1.9rem);
      float: left;
  }
  @media screen and (max-width: 1290px){
      .mdiv {
          display:block;
      }
      .mlf {
          width:100%;
      }
      .mlr {
          width: 100%;
          padding-left:0rem;
          margin-top: 0.75rem;
      }
      .mlf div.tuxings{
          margin: 1rem auto;
      }
  }
  
  @media screen and (max-width: 360px) {
      .mlf div.tuxings{
          width: 100%;
          padding-top: 100%;
          height: unset;
          position: relative;
      }
  
      .mlf div.tuxings canvas{
          position: absolute;
          left: 0;
          top: 0;
      }
  }