
/* ///////////////////////

Version: 2.4.0 
Lastmod: 2020-11-17

/////////////////////// */


.signature-pad {
    
    display: inline-flex;
    flex-direction: column;
    min-width: 98%;
    max-width: 99%;
    box-sizing: border-box;
    padding: 0px;
    margin: 24px 0.5% 24px 0.5%;
    position: relative;
    background: #ededed;
    min-height: 200px;
    max-height: 100vh;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.3);
    
}

.signature-pad--header,
.signature-pad--body,
.signature-pad--footer { 

    display: inline-flex;
    position: relative;
    min-width: 100%;
    margin: 2px 0px;
    box-sizing: border-box;
    padding: 4px 0px;
}




.signature-pad--header {
    
    padding: 3px 2px;
    font-size: 16px;
    color: black;
    justify-content: center;
    margin-bottom: -5px;
    padding-top: 8px;
    text-align: center;
    background: #ededed;
    border-radius: 5px 5px 0px 0px;
    pointer-events: none;
    
}

.signature-pad--header > b {
    
    font-weight:400;
    
}

.signature-pad--body {
    
    margin-top: 0px;
    padding-top: 0px;
    background: white;
    border-radius: 0px;
    overflow: hidden;
    min-height: 164px;
    
}

.signature-pad--footer {
    
        flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-height: 46px;
    background-color: #ededed;
    border-radius: 0px 0px 5px 5px;
    padding: 11px 0px 6px;
    margin-top: -10px;
    
}





.signature-pad--footer > button {
    
    padding: 1px 1px;
    min-width: 32px;
    width: auto;
    font-size: 0px;
    min-height: 32px;
    margin: 1px 7px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
    
    
}

.signature-pad--body > canvas, 
.signature-pad--body img.mySignature {
    
    display: inline-flex;
    width: auto;
    min-width: 50%;
    min-height: 40vw;
    max-height: 40vw;
    outline: none;
    border: 0px;
    margin: 0px auto;
    
}

.signature-pad--body img.mySignature {
    
    min-width: 30%; 
    max-width: 100%; 
    margin-top: auto;
    margin-bottom: auto;
    
    min-height: 44px;
    max-height: 164px;
    
}  


@media screen and (min-width: 640px) { 

    .signature-pad--body > canvas, 
    .signature-pad--body img.mySignature {


    }

}


.signature-pad--actions {  }



.signature-pad--body > canvas { 
    
    border-radius: 0px;
    margin: 0px 0px;
    min-width: 100% !important;
    max-width: 100% !important;
    position: absolute;
    top: 0px;
    background-color: white;
    z-index: 1;
    
    
    
    min-height: 164px !important;
    
}

.signature-pad--body img.mySignature { 

    background-color: transparent !important;
    position: relative;
    /* left: 0px; */
    /* top: 0px; */
    z-index: 2;

}

.signature-pad--body > img.mySignature.hidden, 
.signature-pad--body > canvas.hidden { display:none !important; }

button.button.hidden { display:none !important; }
button.button.save   { 

    background-color: mediumseagreen;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' fill='white' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M840-680v480q0 33-23.5 56.5T760-120H200q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h480l160 160Zm-80 34L646-760H200v560h560v-446ZM480-240q50 0 85-35t35-85q0-50-35-85t-85-35q-50 0-85 35t-35 85q0 50 35 85t85 35ZM240-560h360v-160H240v160Zm-40-86v446-560 114Z'/%3E%3C/svg%3E");
    width: 100%;
    max-width: 100%;
    height: 64px;
    background-size: 42px; 

}
button.button.clear  {     background-color: red;

background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' fill='white' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M280-120q-33 0-56.5-23.5T200-200v-520h-40v-80h200v-40h240v40h200v80h-40v520q0 33-23.5 56.5T680-120H280Zm400-600H280v520h400v-520ZM360-280h80v-360h-80v360Zm160 0h80v-360h-80v360ZM280-720v520-520Z'/%3E%3C/svg%3E");

}
	
	