/*
** Certificate styles
*/

/* Generic styles */
body {
    color: #212120;
    margin: 0;
    font-family: "Roboto", Helvetica, Arial, sans-serif;
}

.banner-user .action.icon-only .action-label, .input-checkbox.replace-checkbox, .input-checkbox.replace-radio, .input-radio.replace-checkbox, .input-radio.replace-radio, .sr-only {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.sr-only, .sr-only * {
    background: #000 !important;
    color: #fff !important;
}

img {
    max-width: 100%;
}

p {
    margin: 0;
    line-height: 1.6;
}

a {
    color: #3E99D4;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

.accomplishment-main {
    color: #121212;
    font-family: "Roboto", Helvetica, Arial, sans-serif;
}

.accomplishment-issue-dates span,
.signatory .role,
.signatory .organization {
    color: #757575;
}

/****************************************************/
/****************************************************/
.accomplishment, .accomplishment-metadata, .accomplishment-support, .banner-user, .footer-app, .grid-container, .header-app {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.accomplishment-metadata::after, .accomplishment-support::after, .accomplishment::after, .banner-user::after, .footer-app::after, .grid-container::after, .header-app::after {
    clear: both;
    content: "";
    display: table;
}

.wrapper-header {
    background: #fff;
    border-bottom: 1px solid #cdd7db;
}

.banner-user, .header-app {
    margin: 0 auto;
}

.wrapper-header {
    border-bottom: 1px solid #cdd7db;
}

.header-app {
    padding: 17px 2%;
}

.header-app-title {
    margin: 0;
    text-align: center;
}

.header-app .logo {
    display: inline-block;
    margin: 0 auto;
    vertical-align: text-bottom;
}

.header-app .logo-img {
    max-width: 100%;
    vertical-align: middle;
    width: 160px;
}

.banner-user {
    margin: 0 auto 30px;
}

.banner-user .message-block {
    margin: 0 auto;
    padding: 1.25rem 2%;
}

.banner-user .message-text {
    text-align: center;
}

@media (min-width: 768px) {
    .banner-user .message-text {
        width: 65.95745%;
        float: left;
        margin-right: 2.12766%;
        text-align: left;
    }
}

.banner-user .message-actions {
    margin-top: 1.25rem;
    text-align: center;
}

@media (min-width: 768px) {
    .banner-user .message-actions {
        width: 31.91489%;
        float: right;
        margin-right: 0;
        text-align: right;
    }
}

.wrapper-banner-user {
    background-color: #586165;
    border-top: 1px solid rgba(158, 177, 185, .25);
    border-bottom: 1px solid rgba(158, 177, 185, .25);
    color: #fcfcfc;
}

.banner-user .message-title {
    color: #fcfcfc;
    font-weight: 600;
}

.banner-user .message-copy {
    color: #fcfcfc;
}

@media (min-width: 768px) {
    .banner-user .message-title {
        font-size: 1.125rem;
    }

    .banner-user .message-copy {
        font-size: 1rem;
    }
}

.banner-user .message-actions-box {
    display: inline-block;
    border: 1px solid #fcfcfc;
    border-radius: 3px;
    background-color: #e7e6e6;
    padding: .3125rem;
}

.banner-user .action {
    border: 1px solid transparent;
    border-radius: 3px;
    padding: .625rem;
    background-color: transparent;
    font-size: 1.3125rem;
    color: #6b6969;
}

.banner-user .action .icon {
    display: block;
    height: 1em;
    width: 1em;
    margin: 0 -2px -2px 0;
    fill: currentColor;
    font-style: normal;
}

.banner-user .action .action-label {
    margin-right: .3125rem;
}

.banner-user .action:hover {
    background-color: #fcfcfc;
    color: #0079bc;
}

.banner-user .action.action-share-facebook:hover {
    background-color: #3B5998;
    color: #fcfcfc;
}

.banner-user .action.action-share-twitter:hover {
    background-color: #55ACEE;
    color: #fcfcfc;
}

.banner-user .action.action-share-linkedin:hover {
    background-color: #0077B5;
    color: #fcfcfc;
}

.footer-app {
    margin: 0 3%;
    border-top: .25rem solid #e5e9eb;
    padding: 1.25rem;
}

@media (min-width: 768px) {
    .footer-app {
        margin: 0 auto;
        padding: 1.25rem 1.875rem;
    }

    .footer-app-legal {
        width: 48.93617%;
        float: left;
        margin-right: 2.12766%;
    }
}

.footer-app-legal .copyright-trademarks .copyright {
    display: block;
}

@media (min-width: 768px) {
    .footer-app-related {
        width: 48.93617%;
        float: right;
        margin-right: 0;
        text-align: right;
    }
}

.footer-app {
    font-size: .75rem;
    line-height: 1.5;
}

/****************************************************
Custom Certificate Styling
/****************************************************/

.accomplishment-main {
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    background: white;
    border-left: 40px solid #cd2355;
    border-right: 40px solid #cd2355;
    max-width: 1084px;
    min-height: 500px;
    margin: 15px auto 60px;
    padding: 20px;
    position: relative;
    box-sizing: border-box;
    text-align: center;
}

.accomplishment-main * {
    box-sizing: border-box;
    line-height: normal;
}

.accomplishment-main .title {
    font-weight: bold;
    font-size: 280%;
    color: #212120;
    margin: 0;
    margin-bottom: 15px;
}

.accomplishment-statement {
    margin-bottom: 30px;
}

.accomplishment-statement .logo {
    display: inline-block;
    margin-bottom: 15px;
}

.accomplishment-statement .logo .logo-img {
    width: 160px;
}

.accomplishment-main p {
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 300;
    font-size: 16px;
}

.accomplishment-date span {
    border-bottom: 1px solid #212120;
    display: inline-block;
    padding: 0 20px;
    font-weight: 400;
}

.partner-logo {
    margin:  0 auto 20px;
}

.accomplishment-main .accomplishment-content {
    position: relative;
    z-index: 2;
    height: calc(100%  - 90px);

}

.accomplishment-recipient,
.accomplishment-course-name {
    font-size: 18px;
    font-weight: 400;
    margin:  0 auto 15px;
    background-color: #f4f4f4;
    padding: 10px;
    display: inline-block;
    line-height: 1.3;
}

.accomplishment-recipient{
    min-width:  80%;
}

.accomplishment-course-name {
    min-width:  60%;
}

.accomplishment-signatories {
    display: flex;
    margin-bottom: 20px;
}

.accomplishment-signatories .signatory {
    flex: 1;
}

.accomplishment-signatories .signatory p {
    margin-bottom: 0;
}

.accomplishment-signatories .signatory .signatory-signature {
    margin:  0 auto 5px;
    padding-bottom: 5px;
    display: inline-block;
    border-bottom: 2px solid #121212;
}

.accomplishment-signatories .signatory .signatory-signature img {
    max-width: 150px;
    max-height: 60px;
    margin:  auto;
    object-fit: cover;
}

.accomplishment-signatories .signatory .signatory-credentials > span {
    color:  #121212;
}

.accomplishment-signatories .signatory .signatory-credentials > span:not(.signatory-name) {
    display: block;
    font-size: 13px;
    margin:  5px auto;
}

.accomplishment-signatories .signatory .signatory-credentials span.signatory-name {
    color: #cd2355;
    font-weight: 700;
    font-size: 18px;
}

.accomplishment-signatories .signatory .signatory-credentials span.role {
    font-weight: 700;
}

.accomplishment-org {
    position: relative;
    z-index: 2;
    margin-top: 20px;
    padding-top: 25px;
    border-top:  2px solid #F5F5F5;
}

.accomplishment-info {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    text-align: center;
    font-weight: 400;
}

.accomplishment-info a {
    color:  #121212;
    display: inline-block;
    margin-bottom: 5px;
    font-weight: 500;
}
