table {
    border-collapse: collapse;
    border-spacing: 0px;
    border-style: none;
    padding: 0px;
}

.contract-pre {
    text-align: left;
    padding: 10px;
    width: 100%;
    min-height: 100px;
    border: 1px solid black;
    border-radius: 5px;
    box-sizing: border-box;
    white-space: pre-wrap;
    height: auto;
}

.contract-box-shadow {
    box-shadow: 8px 8px 6px 0 rgba(0, 0, 0, 0.5);
    transition: box-shadow 500ms;
    border: 1px solid;
    box-sizing: border-box;
}

input:disabled {
    background: #ffffff;
    color: black;
}

.contract-title-input {
    width: 85%;
    height: 30px;
    margin-top: 10px;
    padding-bottom: 10px;
    font-size: 15pt;
    text-align: center;
    border: none;
    border-bottom: 2px solid black;
}

.contract-seleted-programs {
    background: #a7a3a3;
}

.contract-product-selected {
    background: #cccccc;
}

.contract-term {
    border: 1px solid black;
    margin-top: 10px;
    width: 100%;
    min-height: 300px;
    height: auto;
    box-sizing: border-box;
    overflow-y: scroll;
    resize: none;
    text-align: left;
}

.contract-term::-webkit-scrollbar {
     width: 10px;
     height: 10px;
 }

.contract-term::-webkit-scrollbar-thumb {
    background: rgba(203, 203, 203, 0.62);
    border-radius: 3px;
}

.contract-textarea {
    height: auto;
    box-sizing: border-box;
    overflow-y: hidden;
    resize: none;
}

.contract-title-div {
    border: 2px solid black;
    width: 60%;
    height: 30px;
    line-height: 22px;
    margin: 20px 0 10px 0;
    background-color: #5D5D5D;
    color: #FFFFFF;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    min-width: 250px;
}

.contract-table {
    width: 100%;
    min-height: 40px;
    border: 2px solid black;
    margin-top: 5px;
}

.contract-table tr {
    padding: 5px;
    min-height: 40px;
    border-bottom: 1px solid black;
}

.contract-table td {
    min-height: 40px;
    border : 1px solid black;
    padding: 10px;
    box-sizing: border-box;
}

.contract-title-td {
    width: 20%;
    background-color: #cccccc;
}

.contract-context-td {
    width: 30%;
}

.contract-ticket-context-td {
    width: 80%;
}

.contract-label_parent {
    position: absolute;
    right: 20px;
    bottom: 10px;
    background: transparent;
    font-size: 10pt;
    color: white;
    border-radius: 5px;
    width: 250px;
    height: 30px;
    z-index: 2;
}

.contract-label-manager-btn {
    float: right;
    width: 105px;
    margin-left: 10px;
    background-color: #1e88e5;
    outline: none;
    color: white;
    font-size: 10pt;
    padding: 8px;
    border: none;
    border-radius: 3px;
    font-weight: 400;
    cursor: pointer;
}

.contract-save-btn {
    width: 105px;
    background-color: rgb(255, 186, 0);
    outline: none;
    color: white;
    font-size: 10pt;
    padding: 8px;
    border: none;
    border-radius: 3px;
    font-weight: 400;
    cursor: pointer;
}

.contract-box-shadow #contract-privacy,#contract-advertising{
    overflow: scroll;
    border: 1px black solid;
}

.contract-box-shadow .contract-consent-p{
    float: left;
    display: none;
    margin: 25px 0 10px 10px;
}
.contract-sign-pad{
    width: 50%;
    height: 300px;
    background: rgb(255, 255, 255);
    position: fixed;
    top: 25%;
    left: 25%;
    border: 1px solid;
    border-radius: 5px;
    cursor: crosshair;
}
.contract-check-btn{
    width: 50%;
    height: 40px;
    position: absolute;
    text-align: center;
    line-height: 40px;
    background: dimgrey;
    color: white;
    bottom: 0;
    cursor: pointer;
    font-family: AppleSDGothicNeo,sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.contract-sign-label2{
    border-radius: 5px 5px 0 0;
    background-color: #4d4d4d;
    width: 100%;
    height: 35px;
    position: absolute;
    text-align: left;
    line-height: 15px;
    color: white;
    top: 0;
    font-family: AppleSDGothicNeo,sans-serif;
    font-size: 16px;
    font-weight: 800;
    padding: 10px;
}

.contract-sign-label{
    background-color: #000000;
    width: 100%;
    height: 37px;
    position: absolute;
    text-align: center;
    line-height: 15px;
    color: white;
    top: 35px;
    font-family: AppleSDGothicNeo,sans-serif;
    font-size: 18px;
    font-weight: 800;
    padding: 10px;
}

.contract-sign-form{
    background-color: #000000;
    width: 5px;
    height: 200px;
    position: absolute;
    top: 60px;
}

.contract-sign-form2{
    background-color: #000000;
    width: 100%;
    height: 5px;
    position: absolute;
    bottom: 40px;
}

.contract-password-pad{
    width: 50%;
    height: 300px;
    background: rgb(255, 255, 255);
    position: fixed;
    top: 25%;
    left: 25%;
    border: 1px solid;
    border-radius: 5px;
    cursor: none;
}

.contract-popup-middle{
    display: flex;
    width: 100%;
    height: 250px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contract-popup-middle > textarea{
    color: black;
    background: none;
}

#sign-bacground{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: rgba(56, 56, 56, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}
