.ec_contract {
    background: rgba(0, 0, 0, 0.4);
    height: 100%;
    position: fixed;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.ec_contract .helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.ec_contract .ec_contract_content {
    background-color: #fff;
    height: 600px;
    min-width: 800px;
    max-width: 1250px;
    vertical-align: middle;
    text-align: left;
    position: relative;
    padding: 4% 4%;
    font-size: 12px;
    overflow: auto;
}

.ec_contract .ec_contract_content>table {
    border: 1px solid black;
    width: 100%;
}

.ec_contract .ec_contract_content_multivendor>table {
    border: 1px solid black;
    width: 100%;
}

.ec_contract .ec_contract_content::-webkit-scrollbar {
    width: 5px;
}

.ec_contract .ec_contract_content::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.ec_contract .ec_contract_content::-webkit-scrollbar-thumb {
    background-color: #777;
}

.ec_contract .ec_contract_content::-webkit-scrollbar-thumb:hover {
    background-color: #444;
}

.ec_contract>div {
    position: relative;
}

.ec_close_btn {
    border-top: 1px solid #ccc;
    background-color: #fff;
    font-size: 12px;
    text-align: center;
}

.ec_close_btn>span {
    cursor: pointer;
    text-align: center;
}

.ec_close_btn:hover {
    background-color: #ccc;
}

.ec_trigger {
    display: inline !important;
    cursor: pointer;
}

.ec_contract_container {
    display: block !important;
    margin-bottom: 5px;
    margin-top: 5px;
}

.ec_contract_container input[type="checkbox"] {
    -webkit-appearance: auto !important;
}