@import '~assets/scss/_variables.scss';
.chalange-box {
    box-sizing: border-box;
    height: 291px;
    /* width: 303.5px; */
    //   border: 0.5px solid $light-blue;
    border-radius: 6px;
    background-color: $default-white;
    box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.11);
    margin: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    .m-top {
        margin-top: 15px;
    }
    .not-applicable {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 10000000;
        background: rgba(12, 12, 61, 0.26);
        .not-appl-text {
            margin-top: 130px;
            transform: rotate(-29deg);
            font-size: 29px;
            color: red;
        }
    }
    .challange-not-enabled {
        height: 100%;
        width: 100%;
        position: absolute;
        box-sizing: border-box;
        border: 1px solid $light-background-color;
        border-radius: 6px;
        background-color: $box-dissabled-color;
        box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.03);
        .not-enabled-box {
            margin: 0 auto;
            position: absolute;
            top: 50%;
            left: 50%;
            -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
            .locked {
                padding: 2px 15px;
                color: #fff;
                background: #879196;
                width: fit-content;
                border-radius: 5px;
                font-size: 13px;
            }
            .lock-box {
                height: 65px;
                width: 65px;
                background-color: #01a6ff;
                border-radius: 50%;
                display: inline-block;
                img {
                    width: 28px;
                    margin-top: 15px;
                }
            }
            .lock-box-color-dissable {
                background-color: $text-light-color;
            }
            .challange-name {
                margin-top: 18px;
                margin-bottom: 0px;
                color: rgba(0, 0, 0, 0.52);
                font-family: Roboto;
                font-size: 19px;
                font-weight: 500;
                line-height: 25px;
            }
            .locked-text {
                color: rgba(0, 0, 0, 0.32);
                font-family: Roboto;
                font-size: 14px;
                line-height: 19px;
            }
        }
    }
    .box-body {
        padding: 20px 20px 0px 20px;
        .header-box {
            .lock-box {
                height: 36px;
                width: 36px;
                background-color: #01a6ff;
                border-radius: 50%;
                display: inline-block;
                img {
                    width: 16px;
                    margin-top: 7px;
                }
            }
            .lock-box-color-dissable {
                background-color: $text-light-color;
            }
            .lock-box-color-enabled {
                background-color: $light-blue;
            }
            .lock-box-color-passed {
                background-color: $highlight-lock-color;
            }
            .lock-box-color-failed {
                background-color: $failure-color;
            }
            .box-heading {
                display: inline-block;
                padding-left: 12px;
                .heading-text {
                    margin: 0px;
                    color: $text-light-color;
                    font-family: Roboto;
                    font-size: 19px;
                    font-weight: 400;
                    line-height: 23px;
                    text-align: left;
                }
                .heading-text.pc-color {
                    color: $text-dark-color;
                }
                .heading-text.cc-color {
                    color: $orange-text;
                }
                .heading-text.wd-color {
                    color: $whiteboard-header-color;
                }
                .heading-text.lc-color {
                    color: $leadership-header-color;
                }
                .heading-text-primary {
                    color: $text-dark-color;
                }
                .heading-text-coading {
                    color: $orange-text;
                }
                .heading-text-whiteboard {
                    color: $whiteboard-header-color;
                }
                .heading-text-leadership {
                    color: $leadership-header-color;
                }
                .heading-text-default {
                    color: $text-light-color;
                }
                .task-status {
                    font-size: 12px;
                    line-height: 16px;
                }
                .task-completed-heading {
                    color: $task-completed-text;
                }
                .task-initiated-heading {
                    color: #0CC0BB;
                }
                .task-InProgress-heading {
                    color: #1AB7F6;
                }
                .task-Rejected-heading {
                    color: $failure-color;
                }
                .task-AwaitingInitiation-heading {
                    color: #E5AA0D;
                }
                .task-ChallengeInitiated-heading {
                    color: #0CC0BB
                }
                .task-OnHold-heading {
                    color: #E5AA0D
                }
            }
        }
        .box-disc {
            margin-top: 25px;
            .score-details {
                min-height: 71px;
            }
            .duration-count {
                color: $text-dark-color;
                font-family: Roboto;
                font-size: 20px;
                line-height: 26px;
                img {
                    height: 100%;
                    width: 100%;
                    max-width: 16px;
                    max-height: 14px;
                }
            }
            .duration-count-disc {
                margin: 0px;
            }
            .heart-count {
                color: $text-dark-color;
                font-family: Roboto;
                font-size: 13px;
                line-height: 18px;
                margin: 0px;
                img {
                    height: 11px;
                    width: 9px;
                }
            }
            .heart-count-disc {
                width: 85px;
                float: right;
                text-align: right;
                line-height: 14px;
            }
            .separator-line {
                height: 1px;
                border-radius: 0.5px;
                background-color: $horizontal-seprator-color;
                margin: 0px 0px 10px 0px;
            }
            .score-count {
                color: $light-blue;
                font-size: 42px;
                font-weight: 500;
                line-height: 55px;
                .fail-score {
                    color: $failure-color;
                }
                .time-taken {
                    color: $time-duration-color;
                    font-weight: 200;
                    font-size: 32px;
                    vertical-align: top;
                }
            }
            .awarded-text {
                color: $text-dark-color;
                font-size: 12px;
                line-height: 16px;
                margin-top: 18px;
                margin-bottom: 0px;
            }
            .passed-heart-img {
                img {
                    width: 67px;
                }
            }
        }
        .heading-disc {
            opacity: 0.7;
            color: $text-dark-color;
            font-family: Roboto;
            font-size: 12px;
            line-height: 16px;
        }
        .verical-separator {
            border-right: 1px solid $vertical-separator-color;
        }
    }
    .box-footer {
        height: 75px;
        border-radius: 0 0 6px 6px;
        background-color: #f6fcff;
        box-sizing: border-box;
        padding: 15px 20px;
        text-align: left;
        position: absolute;
        bottom: 0px;
        right: 0px;
        left: 0px;
        width: initial;
        .view-details {
            margin-top: 4px;
        }
        .status-img {
            height: 41.38px;
            width: 30.88px;
        }
        .status-box {
            font-size: 12px;
            display: inline-block;
            line-height: 17px;
            padding: 10px 0px 0px 5px;
            vertical-align: bottom;
            .status-disc {
                font-size: 10px;
                margin: 0;
                color: $text-dark-color;
            }
            .status {
                margin: 0;
                color: $orange-text;
            }
        }
        .take-chalenge-btn {
            height: 40px;
            width: 146px;
            border-radius: 20px;
            background-color: $light-blue;
            color: #ffffff;
            font-size: 13px;
            line-height: 18px;
            text-align: center;
            border: none;
        }

        .resumeBtn{
            width: 130px;
        }

        .take-chalenge-btn.pc-color {
            background-color: $light-blue;
        }
        .take-chalenge-btn.cc-color {
            background-color: $orange-text;
        }
        .take-chalenge-btn.wd-color {
            background-color: $whiteboard-header-color;
        }
        .take-chalenge-btn.lc-color {
            background-color: $leadership-header-color;
        }
        .no-link-btn {
            cursor: default;
        }
        .view-details-btn {
            border: 0.6px solid $light-blue;
            border-radius: 20px;
            height: 40px;
            width: 146px;
            border-radius: 20px;
            color: $light-blue;
            font-size: 13px;
            line-height: 18px;
            text-align: center;
            background: transparent;
        }
        .chal-btn-box {
            margin-top: 4px;
            text-align: right;
            .take-chalenge-btn:focus {
                outline-color: unset;
            }
        }
        .wd-or-lc-completed {
            position: absolute;
            width: 100%;
            left: 0;
            padding: 5px 20px;
            line-height: 22px;
            font-size: 16px;
            bottom: 0;
            right: 0;
            text-align: center;
            background: #F6FCFF;
            .congrats-text {
                color: $task-completed-text;
            }
            .completed-msg {
                color: $light-blue;
            }
        }
        .wd-or-lc-initiated {
            position: absolute;
            background-color: $light-blue;
            color: $default-white;
            padding: 16px 20px;
            font-size: 16px;
            line-height: 21px;
            text-align: center;
            left: 0;
            right: 0;
            bottom: 0;
        }
    }
    .box-footer.backBlue {
        background-color: $light-blue;
        color: $default-white;
        padding: 15px 50px;
        font-size: 16px;
        line-height: 21px;
        text-align: center;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .task-failed-footer {
        background-color: $failure-color;
        height: 75px;
        border-radius: 0 0 6px 6px;
        box-sizing: border-box;
        padding: 15px 20px;
        text-align: left;
        position: absolute;
        bottom: 0px;
        .error-heading {
            color: $default-white;
            font-size: 24px;
            line-height: 32px;
        }
        .error-disc {
            color: $default-white;
            font-size: 12px;
            line-height: 16px;
        }
    }
    .display-gray-out {
        opacity: 0.3 !important;
    }
}

.chalange-box.no-shadow {
    box-shadow: none;
}

.chalange-box.pc-color {
    border: 0.5px solid $light-blue;
}

.chalange-box.cc-color {
    border: 0.5px solid $orange-text;
}

.chalange-box.wd-color {
    border: 0.5px solid $whiteboard-header-color;
}

.chalange-box.lc-color {
    border: 0.5px solid $leadership-header-color;
}

.chalange-box.task-failed-color {
    border: 0.5px solid $failure-color;
}

.disable-grayOut {
    opacity: .2;
}

.heart_count {
    height: 100%;
    width: 100%;
    max-width: 16px;
    max-height: 14px;
}