
.signature-pad {
    position: sticky;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    font-size: 10px;
    width: 90vw;
    height: 100%;
    max-width: 450px;
    max-height: 260px;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
    border-radius: 4px;
    padding: 16px;
    z-index: 2222;
    margin: auto;
    top: calc(50vh - 200px);
  }
  
  .myElectronicSignatures .signature-pad {
    top: unset;
    background-color:rgba(0, 0, 0, 0.02);
    box-shadow: none;
    border: none;
    max-width: 345px !important;
  }
  .myElectronicSignatures button {
    border: 2px solid cornflowerblue;
  }
  
  .signature-pad--body {
    position: relative;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    border: 1px solid #f4f4f4;
  }
  
  .signature-pad--body
  canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
    border: 1px inset;
  }
  
  .signature-pad--footer {
    color: #404040;
    text-align: center;
    font-size: 1.2em;
    margin-top: 8px;
  }
  
  .signature-pad--actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-top: 8px;
  }