.bg-alabaster-color{
    background-color: var(--#{$variable-prefix}light-alabaster);
}

.aside-profile{
    height: 100%;
    padding-bottom: 35px;
    background-color: #14171e;
}

.profile-img{
    img{
        width: 100%;
        height: 272px;
        object-fit: cover;
        object-position: top;
        @media (max-width: 991px) {
            object-fit: contain;
            object-position: center;
        }
        @media (max-width: 425px){
            object-fit: cover;
        }
    }
}

.info-profile-wrapper{
    padding: 20px 10px;
    background-color: #14171e;
    color: #fff;
    border-top: 4px solid #fff;
    border-bottom: 2px solid #fff;
    .profile-learner-name{
        margin-bottom: 16px;
        h1{
            font-size: 11px;
            font-weight: 400;
            line-height: 13.31px;
            letter-spacing: .02em;
        }
        h2{
            font-size: 20px;
            font-weight: 700;
            line-height: 24.2px;
            letter-spacing: .05em;
        }
    }
}

.profile-contact-item{
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 16.94px;
    letter-spacing: .02em;
    text-align: left;
    color: #fff;
    text-decoration: none;
    &:hover,
    &:focus{
        color: #fff;
    }
    span{
        flex: 1;
        font-size: 14px;
        font-weight: 400;
        line-height: 16.94px;
        letter-spacing: .02em;
        word-break: break-word;
    }
    svg{
        width: 14px;
        height: 14px;
    }
}

.achievement-counter-wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 10px 40px 10px;
    background-color: #14171e;
    color: #fff;
    &.odd-count{
        .achieve-counter-block{
            &:last-child{
                width: 100%;
                padding-right: 55px;
            }
        }
    }
    .achieve-counter-block{
        position: relative;
        width: 47.9%;
        padding: 10px;
        background-color: rgba(255, 255, 255, .1);
        border: 1px solid rgba(226, 226, 226, .04);
        overflow: hidden;
        border-radius: 4px;
        @media (max-width: 1206px){
            width: 100%;
        }
        @media (max-width: 991px){
            width: calc(50% - 5px);
        }
        @media (max-width: 575px){
            width: 100%;
        }
        .indication-icon{
            position: absolute;
            top: 0;
            right: 0;
            width: 32px;
            height: 32px;
            padding: 8px 5px 8px 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(255, 255, 255, .2);
            border-radius: 100px 0 0 100px;
            img{
                width: 16px;
                height: 16px;
                object-fit: contain;
                opacity: .4;
            }
        }
        .achievement-desc{
            h1{
                font-size: 20px;
                font-weight: 800;
                line-height: 24.2px;
                letter-spacing: .02em;
                text-align: left;
                color: rgba(227, 227, 227, 1);
            }
            p{
                margin: 0;
                font-size: 12px;
                font-weight: 400;
                line-height: 14.52px;
                text-align: left;
                color: rgba(171, 171, 171, 1);
            }
        }
    }
}

.profile-download-dropdown{
    .dropdown-toggle::after{
        display: none;
    }
}

.profile-qr-header {
    border-bottom: 1px solid rgba(57, 57, 57, 1);
    .profile-info{
        h1{
            font-size: 24px;
            font-weight: 600;
            line-height: 30px;
            letter-spacing: .05em;
            text-transform: uppercase;
            margin: 0 0 5px;
            .lastname{
                display: flex;
                font-size: 24px;
                font-weight: 900;
                line-height: 30px;
                letter-spacing: .05em;
            }
        }
        p{
            margin-bottom: 0;
            font-size: 14px;
            font-weight: 600;
            line-height: 30px;
            letter-spacing: .05em;
            text-transform: uppercase;
        }
    }
    .qr-wrapper{
        img{
            width: 100px;
            height: 100px;
            padding: 0;
        }
    }
    .company-logo-wrapper{
        img{
            width: 175px;
            height: 50px;
            object-fit: contain;
        }
    }
}

.cert-carousel-wrapper{
    position: relative;
    background-color: var(--#{$variable-prefix}background-white);
    .carousel-action{
        right: 0;
    }
    .desc-carousel{
        .mk-desc-inner-wrapper{
            padding: 0;
        }
    }
    .slick-slider {
        padding-right: 0;
        .slick-list .slick-slide{
            border: 0;
            .carousel-block .desc-carousel .mk-desc-inner-wrapper{
                padding: 0;
            }
            .img-carousel {
                border-radius: 0;
                &:before {
                    content: '';
                    position: absolute;
                    right: 0;
                    height: 130px;
                    width: 14px;
                    background: #fff;
                    top: 0;
                    z-index: 1;
                }
            }
            iframe {
                pointer-events: none;
            }
            img {
                padding-right: 12px;
            }             
        }
    }
    
    .carousel-block .desc-carousel{
        padding: .5rem 0;
        p{
            margin: 0;
            color: var(--#{$variable-prefix}dark-text-color);
        }
    }
}

.block-heading-wrapper{
    h1{
        margin: 0;
        font-size: 16px;
        font-weight: 800;
        text-transform: uppercase;
    }
    p{
        font-size: 12px;
    }
}

.card {
    .block-heading-wrapper{
        display: inline-block;
        vertical-align: middle;
        width: 100%;
        h1{
            font-size: 12px;
            font-weight: 700;
            line-height: 14.52px;
            letter-spacing: .04em;
        }
    }
}

.program-items-wrapper{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-height: 222px;
    overflow: auto;
    @media (max-width: 991px) {
        grid-template-columns: repeat(1, 1fr);
    }
}

.programs-card-wrapper{
    .program-items-wrapper{
        max-height: 305px;
    }
}

.program-block{
    position: relative;
    display: flex;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--#{$variable-prefix}platinum-light-gray);
    border-radius: 4px;
    .course-img{
        img{
            width: 68px;
            height: 80px;
            object-fit: cover;
        }
    }
    .program-details-wrapper{
        position: relative;
        flex: 1;
    }
    .program-metadata{
        h1{
            margin: 0 0 12px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            white-space: initial;
            overflow: hidden;
            font-size: 15px;
            line-height: 18.15px;
            font-weight: 600;
            letter-spacing: .02em;
        }
        .title-completion{
            margin: 0;
            font-size: 12px;
            line-height: 14.52px;
            font-weight: 400;
            color: #393939;
        }
        .date-completed{
            margin: 0 25px 0 0;
            font-size: 12px;
            line-height: 14.52px;            
            font-weight: 600;
        }
    }
    .course-link-wrapper{
        position: absolute;
        right: 0;
        bottom: 12px;
        a{
            display: flex;
            align-items: center;
            justify-content: center;
            width: 22px;
            height: 22px;
            padding: 3px;
            background: #85ffbe;
            border-radius: 100px;
            svg{
                transform: scale(.8);
            }
        }
    }
}

// Awards
.award-items-wrapper {
    max-height: 299px;
    overflow: auto;
}

.doc-items-wrapper{
    max-height: 212px;
    @media (max-width: 991px){
        max-height: 229px;
    }
}

.award-block{
    position: relative;
    display: flex;
    gap: 10px;
    padding: 0 0 16px;
    margin: 0 0 16px;
    border-radius: 0;
    border-bottom: 1px solid #e2e2e2;
    .award-img{
        margin: 4px 0 0;
        img{
            width: 32px;
            height: 32px;
            object-fit: contain;
        }
    }
    .award-metadata{
        padding-right: 5px;
        h1{
            margin: 0 0 5px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            white-space: initial;
            overflow: hidden;
            font-size: 15px;
            line-height: 18.15px;
            font-weight: 600;
            letter-spacing: .02em;
        }
        .title-completion{
            margin: 0;
            font-size: 11px;
            line-height: 14.52px;
            font-weight: 400;
            color: #393939;
        }
    }
    .award-details-wrapper{
        flex: 1;
    }
    .btn-floating-btns {
        position: static;
        right: 5px;
        bottom: 8px;
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 5px;
        padding: 2px 8px 3px 0;
        .btn-edit-doc {
            background: #f1f1f1;
        }
        .btn-delete-exter-doc{
            svg path{
                stroke: #fff;
            }
        }
        svg {
            width: 10px;
            height: auto;
        }
        span{
            display: none;
        }
        button{
            display: flex;
            align-content: center;
            justify-content: center;
            width: 23px;
            height: 23px;
            padding: 2px;
        }
    }
    &:hover{
        .btn-floating-btns {
            display: flex;
        }
    }
}

// Documents Add/Uploading

.btn-add-docment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 220px;
    margin: 15px 0 0;
    padding: 26px 16px 26px 16px;
    border: 1px dashed #d2d2d2;
    border-radius: 4px;
}

.file-upload-block {
    .file-progress{
        width: 100%;
        p{
            margin: 0 0 5px;
        }
        progress{
            width: 100%;
        }
    }
    button{
        width: 30px;
        padding: 5px;
        border: 0;
        border-radius: 50px;
        background: #fff;
        color: #ff2525;
    }
}

.information-detail{
    h1{
        margin: 0 0 8px;
    }
    progress{
        width: 100%;
    }
    .progress{
        height: 6px;
    }
}

.btn-getupload-file{
    display: inline-block;
    padding: 8px;
    font-weight: 700;
    background: transparent;
    color: var(--#{$variable-prefix}eerie-black);
    border: 1px solid var(--#{$variable-prefix}eerie-black);
    border-radius: 6px;
}

.certificate-modal {
    .modal-title{
        h1 {
            margin: 0;
            font-size: 22px;
            font-weight: 700;
        }
        p {
            margin: 0;
            font-size: 13px;
            font-weight: 400;
        }
    }
    img{
        width: 100%;
        max-height: 500px;
        object-fit: contain;
    }
    .modal-body iframe {
        height: 530px;
    }
}

.doc-icon-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 350px;
    img{
        width: 90px;
        height: auto;
    }
    p{
        margin-top: 10px;
        font-size: 13px;
        color: var(--#{$variable-prefix}dark-shine-gray);
    }
}

// Offcanvas Uploads
.btn-remove-block{
    height: 36px;
    display: flex;
    align-items: center;
    gap: 10px;
    svg path {
        stroke: #fff;
    }
}

.label-file-upload.invalid-feedback {
    position: absolute;
    left: 0;
    bottom: -10px;
    width: auto;
}

.upload-documents-offcanvas{
    width: 50%;
    flex-direction: row;
    @media (max-width: 1199px){
        width: calc(100% - 80px);
    }
    @media (max-width: 768px){
        width: 100%;
    }
    > form{
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}

.was-validated {
    .form-floating > label{
        color: var(--#{$variable-prefix}dark-text-color);
    }
    :invalid ~ label {
        color: #f46582;
    }
    .form-control{
        &:invalid,
        &.is-invalid{
            background-color: var(--#{$variable-prefix}background-white);
        }
    }
}