
.legend-agreement {
    padding: 50px 10px;
}

.legend-agreement .legend-agreement__title h1 {
    color: #000;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 13px;
}
.legend-agreement .legend-agreement__description {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 13px;
}
.legend-agreement .legend-agreement__form.hidden{
    display: none;
}
.legend-agreement .legend-agreement__form label {
    color: #000;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    display: block;
    margin-bottom: 5px;
}
.legend-agreement .legend-agreement__form input {
    max-width: 365px;
    height: 38px;
    width: 100%;
    border: 1px solid #000;
    margin-bottom: 13px;
}
.legend-agreement .legend-agreement__form textarea {
    max-width: 365px;
    height: 112px;
    width: 100%;
    border: 1px solid #000;
    margin-bottom: 13px;
}
.legend-agreement .legend-agreement__form .sn{
    border: 0 none;
    background-color: transparent;
}
.legend-agreement .legend-agreement__form .form-content {
    margin: 45px 0 30px 0;
}
.legend-agreement .legend-agreement__form .form-content h2,
.legend-agreement .legend-agreement__form .form-signature p {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.legend-agreement .legend-agreement__form .form-signature p {
    margin-bottom: 5px;
}
.legend-agreement .legend-agreement__form .form-content p {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}
.legend-agreement .legend-agreement__form .form-content strong{
    font-weight: 600;
}
.legend-agreement .legend-agreement__form .form-content i{
    /* font-style: italic; */
}
.legend-agreement .legend-agreement__form .form-content li{
    margin-top: 1em;
}
.legend-agreement .legend-agreement__form .form-content li p{
    margin-bottom: 0;
}
.form-signature {
    margin: 40px 0 20px;
}
.signature-pad {
    /*cursor: url(pen.png) 1 26, pointer;*/
    border: 1px solid #224560;
    border-radius: 4px;
}
.clear-button {
    color: #224560;
    border: 0 none;
    cursor: pointer;
    padding: 0.5em;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s linear;
}
.clear-button:hover {
    text-decoration: underline;
}
.submit-button {
    background-color: #224560;
    border: 1px solid #224560;
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    cursor: pointer;
    padding: 10px 45px;
    margin-bottom: 10px;
    border-radius: 4px;
    margin-right: 18px;
    transition: all 0.2s linear;
    margin-top: 1.5em;
}
.submit-button:hover {
    text-decoration: none;
    background-color: #FFF;
    color: #224560;
}
.maxWidth--legend {
    max-width: 1030px;
    margin: 0 auto;
}
.canvas {
    position: relative;
    cursor: pointer;
}
.canvas canvas {
    position: inherit;
    z-index: 5;
    background-color: #fff;
}
.sign-input {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 4;
}

.thankyou{
    text-align: center;
    font-size: 1.25em;
    font-weight: 800;
}
.thankyou.hidden{
    display: none;
}

@media (pointer: coarse) {
    .canvas canvas{
        touch-action: none /* Needed to prevent the vertical scroll on touch devices */
    }
}

@media (max-width: 767px) {
    .legend-agreement {
        padding: 50px 20px;
    }
    .signature-pad {
        width: 400px!important;
    }
    .legend-agreement .legend-agreement__form input {
        max-width: 300px;
        height: 38px;
        width: 100%;
    }
    .legend-agreement .legend-agreement__form textarea {
        max-width: 300px;
        height: 112px;
        width: 100%;
    }
}
@media (max-width: 425px) {
    .maxWidth--legend {
        max-width: 375px;
    }
    .legend-agreement {
        padding: 30px 30px;
    }
    .signature-pad {
        max-width: 300px;
    }
}
@media (max-width: 375px) {
    .signature-pad {
        max-width: 275px;
    }
    .clear-button {
        font-size: 14px;
        padding: 10px 25px;
    }
    .submit-button {
        font-size: 14px;
        padding: 10px 25px;
    }
}