
body {
    background: rgb(255,255,255);
    background: -moz-linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(231,238,238,1) 0%, rgba(204,219,219,1) 50%, rgba(231,238,238,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(231,238,238,1) 0%, rgba(204,219,219,1) 50%, rgba(231,238,238,1) 100%);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(231,238,238,1) 0%, rgba(204,219,219,1) 50%, rgba(231,238,238,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#e7eeee",GradientType=1);
}

.wrapper {
    background: none;
}

.e-certificate {
    margin: 2rem 0;
    background: #FFFFFF;
    border-radius: 0px;
    text-align: center;
    color: #111111;
    max-width: 960px;
    margin: 2rem auto;
}

.certificate-content {
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: contain;
    margin: 2rem 0;
    padding: 0rem 2rem;
}

.certificate-content > div {
    padding: 1rem 0;
}

.e-certificate .logo {
    position: relative;
    width: 300px;
    text-align: center;
    top: unset;
    right: unset;
    width: unset;
    text-align: center;
    margin: 0 auto;
    padding: 4rem 0 2rem 0;
}

.e-certificate .logo > *,
.e-certificate .logo img {
    position: relative;
    margin: 0 auto;
    max-height: 160px;
    width: 90%;
    max-width: 960px;
    display: block;
}

.green-text {
    color: #202020;
}

.issue-criteria {
    width: 66%;
    margin: 0 auto;
    font-size: 14px;
}

.red-bar,
.pink-bar {
    color: #FFFFFF;
    background: #d72323;
    padding: 1rem;
    text-align: center;
}

.provider-external .pink-bar {
    background: #202020;
}

.provider-tlt .red-bar,
.provider-tlt .pink-bar {
    background:#7d55c7;
}

.provider-external.provider-elearnFirstAid .red-bar,
.provider-external.provider-elearnFirstAid .pink-bar {
    background: #d72323;
    color:#FFFFFF;
}

.provider-external.provider-elearnFirstAid .red-bar h3,
.provider-external.provider-elearnFirstAid .pink-bar h3 {
    color:#FFFFFF;
}

.pink-bar p {
    color: #FFF;
}

.e-certificate .course-name {
    font-weight: 700;
    color: #202020;
    font-size: 1.5rem;
}

.e-certificate .name {
    font-weight: 700;
    font-size: 1.5rem;
}

.e-certificate .qual-date {
    font-size: 1.5rem;
}

.certificate-end {
    display: flex;
    justify-content: space-evenly;
}

.certificate-end > div {
    flex-grow: 1;
    justify-content: flex-end;
}

.certificate-end > div.cert-logos {
    display: flex;
    width: 25%;
}

.cert-logos img {
    display: block;
    height: 100px;
    margin: 0 0 0.5rem 1rem;
    height: 100px;
}

.cert-logos img.ctq {
    height: unset;
    width: 200px;
}

.cert-logos.provider img {
    width: 150px;
}

.certificate-end > div.cert-logos.provider {
    justify-content: flex-end;
    flex-wrap: wrap;
}

.red-bar h3,
.pink-bar h3 {
    letter-spacing: 7px;
    font-size: 1.5rem;
    color: #ffffff;
}

.bfa-footer {
    padding: 0 2rem 2rem 0;
    text-align: right;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    flex-direction: column;
}

.bfa-footer img,
.bfa-footer svg {
    display: block;
    width: 150px;
}

.provider-name {
    margin-top: 1rem;
    padding-top: 1rem;
    line-height: 1.5rem;
    align-self: flex-start;
}

.provider-name img {
    opacity: 0;
}

.bfa-footer-text {
    font-size: 0.8rem;
    text-align: left;
    color: #707070;
}

.attention-item {
    color: #512683;
}

.expiry-warning,
.verification-failed {
    padding-top: 20px;
    padding-bottom: 15px;
    background: #dcddf2;
    font-size: 24px;
    font-weight: 100;
    display: flex;
    justify-content: center;
    color: #512683;
    font-family: sofia-pro, sans-serif;
}

.expiry-warning i,
.verification-failed i {
    font-size: 24px;
    vertical-align: middle;
    position: relative;
    flex-grow: 0;
    margin:6px 16px;
}

.expiry-warning i:before,
.verification-failed i:before {
    z-index: 2;
    position: relative;
    width: 22px;
    height: 22px;
}

.expiry-warning i:after,
.verification-failed i:after {
    content: ' ';
    background: #ffffff;
    position: absolute;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    z-index: 1;
}

.verification-failed > span {
    display:block;
    text-align: left;
}

.verification-failed .additional,
.expiry-warning .additional {
    display: block;
    font-size: 16px;
    line-height: 24px;
    margin-top: 8px;
}

.downloadable-certificates {
    max-width: 960px;
    margin: auto;
    position: relative;
}

.downloadable-certificates * {
    color: #202020;
}

.downloadable-certificates svg {
    display:block;
    width:24px;
    height:24px;
    fill:#7d55c7;
}

.downloadable-certificates .downloadable-action,
.downloadable-certificates .downloadable-certificates-popup {
    position: absolute;
    left: 0;
    z-index: 11;
}

.downloadable-certificates .downloadable-certificates-popup {
    z-index: 12;
    background: rgba(255, 255, 255, 0.85);
    width: calc(100% - 80px);
    margin-left: 80px;
    box-sizing: border-box;
    padding-top: 10px;
    height: 220px;
}

.downloadable-certificates ul {
    padding-left: 10px;
    border-left: 1px solid #aaaaaa;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.downloadable-certificates ul li {
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 20px;
    font-weight: 100;
}

.downloadable-certificates ul li:hover,
.downloadable-certificates ul li:hover i:before {
    color: #000000;
    font-weight: 400;
}

.downloadable-certificates ul li:hover i:before {
    font-weight: 900;
}

.downloadable-certificates ul li i {
    padding-right: 5px;
    font-weight: 100 !important;
}

.downloadable-certificates .downloadable-action {
    background: none;
    outline: none;
    border: none;
    margin: 10px;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    background: #f3f5f9;
}

.downloadable-certificates .downloadable-action i {
    font-size: 36px;
    color: #606060;
    cursor: pointer;
}

.downloadable-certificates .downloadable-action:hover {
    border: 1px solid #7d55c7;
    background: #7d55c7;
    box-shadow: 2px 2px 8px -5px rgba(0, 0, 0, 0.75);
}

.downloadable-certificates .downloadable-action:hover i {
    color: #000000;
}

.downloadable-certificates .downloadable-action:hover svg {
    fill:#FFFFFF;
}

.course-content-details {
    border-top: 20px solid #dee8e8;
}

.content-footer {
    height: 30px;
}

.course-content-details ul.course-content-items {
    width: calc(100% - 4rem);
    column-count: 3;
    margin: 30px 2rem;
    box-sizing: border-box;
}

.course-content-details ul.course-content-items li {
    text-align: left;
    list-style-type: square;
    margin-left: 30px;
    font-size: 16px;
    padding: 0.5rem 0;
}

.certificate-end > div.tln-container {
    width: 25%;
    justify-content: flex-start;
    position: relative;
    font-size: 0.8rem;
}

.tln-container .qrcode {
    height: 90px;
}

.loading-verification {
    margin: 2rem auto;
    max-width: 960px;
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 2rem;
    box-sizing: border-box;
    font-size: 18px;
}

.loading-verification .waiter {
    margin-right: 10px;
}

.loading-verification .waiter:before {
    font-size: 24px;
    font-weight: bold;
    color: #0085a7;
}

.certificate-break {
    width: 100%;
    border-bottom: 1px dashed #7478b3;
}

.verification-info {
    padding-bottom: 60px;
}

.ctq-certificate iframe {
    width: 100%;
    height: calc(165vh - 140px);
    border: 2px solid #e0e9e9;
    border-radius: 12px;
}

.e-certificate.ctq-no-tlt {
    padding-top: 60px;
}


@media print {
    .verification-data {
        display: none;
    }
}
