

.signature-pad {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    height: 290px;
    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;*/
}

    .signature-pad::before,
    .signature-pad::after {
        position: absolute;
        z-index: -1;
        content: '';
        width: 40%;
        height: 0;
        bottom: 0;
        background: transparent;
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
    }

    .signature-pad::before {
        left: 0px;
        -webkit-transform: skew(-3deg) rotate(-3deg);
        transform: skew(-3deg) rotate(-3deg);
    }

    .signature-pad::after {
        right: 200px;
        -webkit-transform: skew(3deg) rotate(3deg);
        transform: skew(3deg) rotate(3deg);
    }

.signature-pad--body {
    position: relative;
    flex: 1;
    border: 1px solid #f4f4f4;
    border-radius: 4px;
}


    .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;
    }

.signature-pad canvas{
    background-color:white;
}

@media (max-width: 480px) {
    .signature-pad--actions .button {
        display: block;
        width: 100%;
        min-height: 2em;
    }
}
