.ctech-lightbox {
    display: none;
    position: absolute;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.275);
}

.ctech-lightbox.lightbox-show {
    display: block;
}

.ctech-lightbox.lb-fixed {
    position: fixed !important;
}

.ctech-lightbox .cpd-content {
    position: relative;
    margin: 1.75rem auto;
    width: 500px;
    max-width: 90%;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-radius: .3rem;
    outline: 0;
    max-height: calc(100% - 3.5rem);
}

.ctech-lightbox .cpd-content .cpd-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
    background: #f1f1f1;
}

.ctech-lightbox .cpd-content .cpd-header .cpd-title {
    margin-bottom: 0;
    line-height: 1.5;
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.cpd-header .cpd-close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
    background-color: transparent;
    border: 0;
}

.cpd-close:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.cpd-body {
    flex: 1 1 auto;
    padding: 1rem;
    overflow-y: auto;
    max-height: calc(100vh - 7.5rem);
}

.cpd-body p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.cpd-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

.cpd-footer > * {
    margin: 5px;
}
