html {
    overflow-x: hidden;
    touch-action: pan-y; 
  }
  .idl{
      width: calc(100% - 20rem);
      float: left;
      display: inline-block;
      background-color: #f6f7fa;
      padding: 2.2rem 0;
      text-align: center;
      background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC);
  }
  .idl canvas{
      max-width: 17rem;
      width: 100%;
      height: auto;
  }
  .idr{
      width: 20rem;
      display: inline-block;
      float: right;
      padding: 0 0 0 0.75rem;
  }
  .night .idl{
      background-image: linear-gradient(to right, #333, #333);
  }
  .idr>div{
      padding: 0.25rem;
      border: 1px solid #e8e8fd;
      margin-bottom: 0.75rem;
      border-radius: 4px;
  }
  .night .idr>div{
      border: 1px solid #444;
  }
  input[type="range"]{
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      left: 0.5rem;
      width: calc(100% - 1rem);
  }
  .idr>div .spanbut>div{
      width: calc(100% / 3);
      float: left;
      display: inline-block;
      text-align: center;
      padding: 0.2rem;
  }
  .idr>div .spanbut>div span{
      display: inline-block;
      padding: 0.3rem 0;
      border: 1px solid #ddd;
      width: 100%;
      cursor: pointer;
      font-size: 0.6rem;
  }
  .night .idr>div .spanbut>div span{
      border: 1px solid #444;
      color: #ddd;
  }
  .layui-form-pane .layui-form-checkbox{
      margin: 0;
      vertical-align: super;
      border-radius: 4px;
  }
  .idr>div.butdivs{
      padding: 0.75rem 0;
      text-align: center;
      margin-bottom: 0;
  }
  .idr>div.butdivs span{
      padding: 0 0.75rem;
      display: inline-block;
      background-color: #06b672;
      color: #fff;
      border-radius: 4px;
      cursor: pointer;
      height: 29px;
      line-height: 29px;
  }
  .cropper_buts{
      padding: 10px 5px;
  }
  .cropper_buts span{
      height: 1.4rem;
      line-height: 1.4rem;
      width: 1.8rem;
      display: inline-block;
      text-align: center;
      border: 1px solid #eee;
      font-weight: bold;
      font-size: 0.7rem;
      margin: 0 0 0 0.2rem;
      border-radius: 4px;
      cursor: pointer;
  }
  .night .cropper_buts span{
      border: 1px solid #555;
      color: #ccc;
  }
  .cropper_buts span.act{
      background-color: #2196f3;
      border: 1px solid #2196f3;
      color: #fff;
  }
  .cropper_buts span.lr{
      font-weight: unset;
      font-size: 0.6rem;
      margin-right: 0.25rem;
  }
  @media screen and (max-width: 1024px){
      .idl canvas{
          max-width: 10rem;
      }
  }
  @media screen and (max-width: 1010px){
      .idl{
          width: 100%;
      }
      .idl canvas{
          max-width: 12rem;
      }
      .idr{
          width: 100%;
          padding: 0 0 0 0;
          margin-top: 0.75rem;
      }
  }
  @media screen and (max-width: 885px){
      .idl canvas{
          max-width: 17rem;
      }
      .idl{
          width: calc(100% - 20rem);
      }
      .idr{
          width: 20rem;
          float: right;
          padding: 0 0 0 0.75rem;
          margin-top: 0;
      }
  }
  @media screen and (max-width: 750px){
      .idl{
          width: 100%;
      }
      .idl canvas{
          max-width: 12rem;
      }
      .idr{
          width: 100%;
          padding: 0 0 0 0;
          margin-top: 0.75rem;
      }
  }
  @media screen and (max-width: 410px){
      .idr>div .spanbut>div {
          width: calc(100% / 2);
      }
  }
  @media screen and (max-width: 360px){
      .idl {
          padding: 1rem 0;
      }
  }
  @media screen and (max-width: 280px){
      .idl canvas{
          max-width: 95%;
      }
  }
  @media screen and (max-width: 246px){
      .idr>div .spanbut>div {
          width: 100%;
      }
  }
  .night .layui-form-checkbox>div{
      color: #ccc;
      background-color: #444;
  }
  
  .night .layui-form-pane .layui-form-checkbox{
      background-color: #555;
  }
  
  .night .layui-form-checkbox>i{
      border: 1px solid #444;
      border-left: 0;
  }
  
  .night .layui-form-checked, .night .layui-form-checked:hover {
      border-color: #16b777;
  }
  
  .night .layui-form-checked:hover>div, .night .layui-form-checked>div{
      background-color: #16b777;
      color: #fff;
  }