

.ocw-service-agreement-div  h3{
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0;
    color: var(--ocw-pri-color);
}

.agreement-title-row{
    align-items: center;
    margin-bottom: 25px !important;
}

.service-agreement-header{
    padding: 20px 0;
}

.service-agreement-header > div{
    font-weight: 700 !important;
    color: var(--ocw-pri-color);
}

.ocw-row.service-agreement{
    margin: 5px 0;
    align-items: center;
}

.service-agreement > div{
    font-size: 14px !important;
}

.service-agreement > div:nth-child(1) {
    width: 45%;
    color: var(--ocw-pri-color);
}

.service-agreement > div:nth-child(2) {
    width: 40%;
}

.service-agreement > div:nth-child(3) {
    width: 15%;
}

.not-acknowledged{
    font-weight: bold;
}

.not-acknowledged span{
    background: #eb585c;
    color: white;
    padding: 4px 8px;
    margin-left: 5px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.service-action-btn{
    font-size: 13px !important;
    padding: 6px 14px;
    border-radius: 100px;
    text-decoration: none !important;
    cursor: pointer;
    display: inline-block;
}

.service-action-btn.pri{
    background: var(--ocw-cta-bg-color) !important;
    color: var(--ocw-cta-color) !important;
}

.service-action-btn.sec{
    background: var(--ocw-sec-cta-bg-color) !important;
    color: var(--ocw-sec-cta-color) !important;
}

.service-agreement-item{
    margin-bottom: 20px !important;
}

.service-agreement-item{
    background: white;
}

.service-agreement-item .ocw-col:nth-child(1){
    cursor: pointer;
}

.popup-agreement-header{
    text-align: left;
    margin-bottom: 15px;
}

.popup-agreement-header .ocw-close-button{
    position: absolute;
    right: 10px;
    top: 0;
    cursor: pointer;
    font-size: 30px;
}

.agreement-name{
    font-size: 22px !important;
    font-weight: 700 !important;
}

.popup-agreement-details{
    text-align: left;
    font-weight: 400 !important;
    overflow: auto;
}

.popup-agreement-details a{
    text-decoration: underline !important;
    color: var(--ocw-pri-color);
}

.popup-agreement-details p{
    margin: 0px !important;
}

.ocw-alert-popup .ocw-alert-popup-content{
    width: 100%;
    max-width: 600px;
}

.ocw-alert-backdrop .ocw-alert-content {
    max-width: 650px;
}

.popup-agreement-details {
    margin-bottom: 20px;
}

.popup-agreement-details ol,
.popup-agreement-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popup-agreement-details ol {
    counter-reset: section;
}

.popup-agreement-details ol > li.main-heading {
    counter-increment: section;
    counter-reset: subsection;
}

.popup-agreement-details ol > li.main-heading::before {
    content: counter(section) ". ";
    font-weight: bold;
    display: inline-block;
    margin-right: 4px;
}

.popup-agreement-details ol > li.ql-indent-1 {
    counter-increment: subsection;
    margin-left: 1.5em;
    margin-bottom: 6px;
}

.popup-agreement-details ol > li.ql-indent-1::before {
    content: counter(subsection, lower-alpha) ". ";
    display: inline-block;
    margin-right: 4px;
    margin-left: -19px;
    width: 15px;
}

.popup-agreement-details ol > li.main-heading {
    margin-top: 6px;
}

.popup-agreement-details li.ql-indent-1 {
    padding-left: 20px;
}

#signatureCanvas {
    border: 3px solid rgb(200, 200, 200);
    background: #f9f9f9;
}

.signature-field-wrapper,
.checkbox-field-wrapper{
    text-align: left;
}

#clearButton {
    cursor: pointer;
    color: red
}

.clear_signature{
    text-align: right;
}

.signature-details{
    text-align: left;
}

.signature-image{
    width: 100%;
    max-width: 300px;
}

.service-term-checkbox{
    width: 16px;
    height: 16px;
    margin-right: 10px;
    vertical-align: middle;
}

.terms-confirm-btn{
    background: var(--ocw-cta-bg-color) !important;
    color: var(--ocw-cta-color) !important;
    font-size: 13px !important;
    padding: 6px 14px;
    border-radius: 4px;
    width: 100%;
    text-decoration: none !important;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    margin-top: 15px;
}

.acknowledge-all-col{
    display: none;
}

.acknowledge-all-btn{
    float: right;
    background: var(--ocw-cta-bg-color) !important;
    color: var(--ocw-cta-color) !important;
    font-size: 13px !important;
    padding: 6px 14px;
    border-radius: 100px;
    text-decoration: none !important;
    cursor: pointer;
    display: inline-block;
}

.cta-col{
    text-align: right;
}

.service-agreement-header .ocw-col:last-child{
    text-align: center;
}

.popup-agreement-container{
    max-height: 80vh;
    overflow: auto;
}

@media screen and (max-width: 767px) {

    .ocw-service-agreement-div  h3{
        font-size: 14px !important;
        margin: 0;
    }

    .service-agreement-header{
        display: none;
    }

    .ocw-row.service-agreement-item{
        display: block !important;
        padding: 10px;
        border: 1px solid #ebebeb;
        border-radius: 5px;
        box-shadow: 0 0 6px -5px gray;
    }

    .service-agreement-item{
        margin-bottom: 20px !important;
    }

    .service-agreement-item > .ocw-col{
        width: 100% !important;
        display: block !important;
    }

    .service-agreement-item > .ocw-col:nth-child(1) {
        padding-bottom: 5px;
    }

    .service-agreement-item > .ocw-col:nth-child(3) {
        padding-top: 5px;
        text-align: right;
    }

    .not-acknowledged span{
        float: right;
        font-size: 10px;
    }

}