/* TRIAD-6155: Certificate and license styles moved from Additional HTML. */

.cmid-19552 .certificate_body .col-12 {
    padding-left: 0px !important;
}

a.profile_postpone_enrollment {
    width: fit-content;
    color: white;
    background: var(--bs-brand-primary);
}

input.date__border-r {
    margin-right: -11px;
    border-right: 0px !important;
    outline: none !important;
}

.cmid-19551 .ce__titlee {
    width: 25%;
}

.cmid-19551 .table_row_certi_list {
    display: flex;
    width: 100%;
}

.cmid-19551 .table_row_certi_list,
.cmid-19551 .table_cell_certi_list {
    padding: 8px;
}

.cmid-19551 .table_head_certi_list {
    background: var(--bs-brand-primary);
    color: var(--bs-white);
}

.cmid-19551 .table_cell_certi_list {
    display: table-cell;
    font-weight: 400;
    min-width: 15%;
}

span#cert_message_type {
    font-weight: bold;
}

#cert_licenses_item_list_dash .cert_licenses_item,
.cert_licenses_item_list_dash .cert_licenses_item {
    background-color: var(--bs-white);
    margin: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 5px;
}

input.date__border-r2 {
    border-left-width: medium !important;
    border-left-style: none !important;
    border-left-color: currentcolor !important;
    outline: none !important;
}

.cert_brand_logo {
    text-align: end;
}

.myce_clear_list {
    font-family: Manrope;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    text-align: center;
    letter-spacing: 0.1px;
    color: rgb(0, 0, 0);
}

div#contentToPrint,
div.contentToPrint {
    margin: 0px auto;
    width: 800px !important;
}

.my__license--font {
    font-size: 13px;
}

.license__mr {
    margin: 0px 0px 0px auto;
}

.my_cert .select_filter {
    align-items: center;
    padding: 8px 16px;
    gap: 8px;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(229, 229, 235);
    border-radius: 4px;
    font-size: 13px;
    height: 40px;
}

.my_cert .generaltable tbody tr:nth-of-type(2n+1) {
    background: none !important;
}

.my_cert .table-sm thead {
    background: rgb(245, 245, 245);
}

.my_cert .generaltable th,
.my_cert .generaltable td {
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
}

.certificate_body {
    box-shadow: rgba(113, 113, 113, 0.15) 0px 4.11826px 35.0052px;
    background-color: rgb(255, 255, 255);
}

.certificate_contain {
    background-repeat: round;
    width: 100%;
    padding: 7%;
    margin: 0px auto !important;
}

.certificate_body .col-md-12 {
    margin-top: 8px !important;
}

.certi_brand_logo {
    height: 50px;
}

.certificate_cmp_text {
    color: rgb(16, 0, 46);
    font-family: Inter;
    font-style: normal;
    font-weight: 700;
    text-align: left;
    font-size: 22px;
}

.certificate_contain_body {
    margin-top: 5%;
}

.certify_text {
    color: rgb(16, 0, 46);
    font-family: Inter;
    text-align: left;
    font-size: 15px;
    line-height: 5px;
}

.certificate_username_spam {
    color: rgb(16, 0, 46);
    font-style: normal;
    font-weight: 500;
    font-size: 34px;
    line-height: 20px;
    letter-spacing: -0.02em;
}

div#my_cert_data {
    margin-top: 5%;
}

.cert_licenses {
    color: rgb(16, 0, 46);
    font-family: Inter;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: -0.01em;
}

#cert_licenses_item_list .cert_licenses_item,
.cert_licenses_item_list .cert_licenses_item {
    padding: 8px;
    box-shadow: rgb(225, 225, 234) 0px 0px 7px 2px;
}

#cert_licenses_item_main .cert_licenses_item,
.cert_licenses_item_main .cert_licenses_item {
    background-color: rgb(247, 240, 255);
    margin: 8px;
    padding-right: 0px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 2px;
}

#cert_licenses_item_list_dash .cert_licenses_item {
    background-color: var(--bs-white);
    margin: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 5px;
}

#cert_licenses_item_list .cert_licenses_item {
    margin: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 5px;
}

.cert_licenses_name {
    color: rgb(16, 0, 46);
    font-family: Inter;
    text-align: left;
    font-size: 12px;
}

.cert_licenses_num {
    color: rgb(123, 113, 142);
    font-family: Inter;
    text-align: left;
    font-size: 12px;
}

.certificate_body_text {
    color: rgb(16, 0, 46);
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: -0.005em;
}

#cert_course_name,
#cert_issue_date,
#cert_ce_credit,
#cert_instructor_name {
    font-weight: 600;
}

#cert_instructor_name {
    font-family: Inter;
    font-style: normal;
    font-size: 13px;
    line-height: 24px;
}

#signature_line {
    background-color: black;
}

.cert_approving_head {
    color: rgb(16, 0, 46);
    font-family: Inter;
    text-align: left;
    font-size: 13px;
}

#cert_approving_detail,
.cert_approving_text {
    text-align: left;
    font-size: 10px;
    letter-spacing: 0px;
}

.cert_brand_detail {
    font-size: 10px;
}

img#signature_imag {
    margin-left: -10px;
    height: 110px !important;
    width: 213px !important;
}

a#view_my_cert_button:hover,
a#view_my_cert_button:hover {
    background-color: var(--bs-white);
    border-color: var(--bs-brand-primary);
    color: var(--bs-brand-primary) !important;
}

a#view_my_cert_button,
a#view_my_cert_button {
    background-color: var(--bs-brand-primary);
    color: var(--bs-white);
    border-color: var(--bs-brand-primary);
}

.alert.license-notice,
wdm_dashboard-stats,
.nav-darkmode,
.edwiser-slider,
.topofscroll,
.header-enrolbtn-wrapper {
    display: none !important;
}

.desc_cert {
    box-shadow: rgb(94, 86, 86) 0px 6px 5px;
    padding: 16px;
    background: rgb(245, 245, 247);
}

#license_block_content .btn.btn-primary {
    text-decoration: none !important;
}

#license_block_content .btn.btn-primary:hover {
    color: rgb(16, 0, 46) !important;
    text-decoration: none !important;
}

.im-controls .certaintychoices {
    display: none !important;
}

.col-md-12.mb-4.mt-4:has(#license_table) {
    display: none !important;
}

/* license cards: an icon tile, then "type · state" above the number. Three across fits the
   longest type ("Other Behavioral, Mental, or Healthcare Field") on two lines at most. */
#cert_licenses_item_list:has(.cert_license_card),
#cert_licenses_item_list_dash:has(.cert_license_card) {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-left: 0;
    margin-right: 0;
}

.cert_license_card {
    display: flex;
    align-items: center;
    gap: 16px;
    width: auto;
    padding: 16px 24px 16px 16px;
    background: var(--bs-white);
    border: 1px solid rgb(229, 229, 235);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(16, 0, 46, 0.04), 0 4px 16px rgba(16, 0, 46, 0.06);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cert_license_card:hover {
    border-color: rgba(128, 0, 255, 0.4);
    box-shadow: 0 1px 2px rgba(16, 0, 46, 0.04), 0 8px 24px rgba(128, 0, 255, 0.12);
}

.cert_license_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(128, 0, 255, 0.08);
    color: var(--bs-brand-secondary);
    font-size: 20px;
}

.cert_license_text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cert_license_meta {
    color: rgb(107, 107, 128);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.cert_license_number {
    color: var(--bs-brand-primary);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
