.cci-single-challenge {
    /* width: 90%;
    margin: 0 auto; */

    padding: 30px 35px 30px;
    border-radius: 5px;
    box-shadow: 0 1px 6px rgb(0 0 0 / 28%);
    width: 90%;
    margin: 0 auto;
    margin-bottom: 3rem;
    margin-top: 3rem;
}

.cci-header {
    margin-bottom: 40px;
}

.cci-details-container {
    padding: 30px 35px 30px;
    border-radius: 5px;
    margin-bottom: 45px;
    box-shadow: 0 1px 6px rgb(0 0 0 / 28%);
}

.cci-title {
    font-size: 28px;
    margin-bottom: 35px;
}

.cci-details-progress {
    /* padding-bottom: 30px; */
}


.cci-challenge-stats div {
    padding-bottom: 10px;
}



.cci-details-container .cci-sub-title {
    margin-bottom: 20px;
}

.cci-details-stats {
    padding-bottom: 15px;
}

.cci-stat-count {
    font-weight: bold;
}

.cci-progress-container {
    position: relative;
}


.cci-details-progress .cci-sub-title {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 10px;
}

.cci-progess-checkpoint {
    text-align: center;
    line-height: 32px;
    font-weight: bold;
    display: block;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 3px solid #fff;
    border-radius: 100%;
    position: absolute;
    top: -6px;
    right: 1px;
    box-shadow: 0 1px 6px rgb(0 0 0 / 28%);
    background: #F53737;
    color: #fff;
}

.cci-progess-checkpoint.completed {
    background: #1bbc5b;
    color: #fff;
    border-color: #fff;
}

.cci-tooltip-text {
    visibility: hidden;
    font-size: 14px;
    background-color: #ffffff;
    color: #000;
    text-align: center;
    padding: 15px 10px 16px;
    border-radius: 6px;
    position: absolute;
    width: 223px;
    bottom: 135%;
    left: 50%;
    margin-left: -110px;
    z-index: 1;
    box-shadow: 0 3px 10px rgb(0 0 0 / 28%);
    font-weight: normal;
    line-height: 1;
}

.cci-tooltip-text::after {
    content: " ";
    position: absolute;
    top: 100%;
    /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}


.cci-progess-checkpoint:hover .cci-tooltip-text {
    visibility: visible;
}

.cci-progress {
    width: 100%;
    height: 30px;
    border-radius: 13px;
    border: 1px solid #e2e2e2;
    margin-bottom: 12px;
}

.cci-progress>div {
    height: 29px;
    background: #f53737;
    border-radius: 13px;
    color: #fff;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    min-width: 100%;
}

.cci-progress.completed>div {
    background: #1bbc5b;
}

.cci-challenge-actions {
    text-align: center;
    margin-bottom: 35px;
}

.cci-challenge-actions a {
    color: #fff;
    background: #cc3366;
    padding: 8px 20px;
    border-radius: 100px;
}

.cci-tasks-container {
    padding-bottom: 40px;
    background: white;
}

.cci-tasks-container * {
    box-sizing: border-box
}

.cci-calender-container {
    margin-bottom: 60px;
    padding: 30px 35px 30px;
    border-radius: 5px;
    box-shadow: 0 1px 6px rgb(0 0 0 / 28%);
    /* width: 90%; */
    margin: 0 auto;
}

.cci-calender-row h5 {
    margin: 0;
    color: #151515;
    font-size: 16px;
    font-weight: bold;
}

.cci-sub-title {
    margin-top: 0;
    font-size: 20px;
    margin-bottom: 26px;
    color: #000;
    font-weight: bold;
}

ul.cci-calender-row {
    display: flex;
    padding-left: 0;
    border: 1px solid #e2e2e2;
    border-bottom: 0;
}

ul.cci-calender-row:last-child {
    border-bottom: 1px solid #e2e2e2;
}

ul.cci-calender-row li {
    width: 14.285%;
    list-style: none;
    padding-left: 1px;
    box-sizing: border-box;
}

.cci-calender-header ul.cci-calender-row {
    border: 0 !important;
}



.cci-calender-header {
    margin-bottom: 5px;
}

.cci-calender-header h5 {
    color: #848484;
    margin-bottom: 0;
    padding-left: 2px;
    font-weight: normal;
}


.cci-calender-body li.cci-calender-date:not(.empty) {
    padding: 10px;
    border-left: 1px solid #e2e2e2;
    min-height: 125px;
    display: flex;
    flex-direction: column;
}

.cci-calender-body li.cci-calender-date:first-child {
    border-left: 0
}

.cci-calender-body li.cci-calender-date:last-child {
    border-right: 1px solid #e2e2e2;
}

/* 
.cci-calender-body li.cci-calender-date.empty {
    background: none;
} */

.cci-calender-date h5 {
    margin-bottom: 18px;
}

.cci-tasks {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* justify-content: flex-end; */
}

.cci-calender-date a {
    line-height: 1.5;
    display: block;
    box-shadow: 0 2px 7px rgb(0 0 0 / 24%);
    padding: 7px 15px;
    border-radius: 5px;
    color: #000;
    background: #fff;
    margin-bottom: 9px;
    min-height: 30px;
    word-break: break-all;
    box-sizing: border-box;
}

.cci-calender-date a:hover {
    box-shadow: 0 1px 10px #00000061
}

.cci-calender-date a.completed {
    background: #1bbc5b;
    color: #fff;
}

.cci-calender-date a.expired {
    background: #f53737;
    color: #fff;
}

.cci-calender-date a.not-started {
    background: #969696;
    color: #fff;
}

.cci-calender-date a.multi-span {
    z-index: 1;
}

/* .cci-calender-date a.multi-span:nth-child(1){
    margin-top: auto;
} */

/*pop up*/
.cci-error {
    color: red;
    font-size: 12px;
}

.cci-popup-container {
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 999;
    position: fixed;
    visibility: hidden;
    /* display: none; */
    background-color: rgb(47 47 47 / 50%);
    justify-content: center;
    align-items: center;
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}

.cci-popup-container.popup-open {
    display: flex;
    visibility: visible;
    opacity: 1;
}

.cci-popup {
    background: #fff;
    padding: 20px;
    min-width: 500px;
    /* min-height: 400px; */
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 7px rgb(0 0 0 / 30%);
    position: relative;
    box-sizing: border-box
}

.cci-popup-header {
    position: relative;
}

.cci-popup-header h3 {
    margin-top: 0;
}

.cci-popup-input {
    margin-bottom: 35px;
}

.cci-popup-close {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .6;
    cursor: pointer;
    position: absolute;
    right: 0;
    /* top: -14px; */
}

.cci-popup-details {
    padding: 10px 0 25px;
}

.cci-popup-custom-field {
    padding-bottom: 0
}

.cci-popup-custom-field h4 {
    font-size: 18px;
    color: #000;
    margin-top: 0;
    margin-bottom: 5px;
}

.cci-popup-footer {
    margin-top: auto;
    text-align: right;
    padding: 10px 0 12px;
}

.cci-popup-footer a {
    padding: 10px;
    border-radius: 3px;
    cursor: pointer;
}

.cci-popup-cancel {
    text-decoration: underline !important;
}

.cci-popup .cci-popup-forward {
    color: #fff !important;
    background: #c36;
}

.cci-popup .cci-popup-forward.disabled {
    opacity: .5;
    cursor: not-allowed;
}

.cci-popup .cci-popop-cancel {
    color: #c36 !important;
    border-radius: 2px;
    padding: 10px 20px;
}



.cci-user-challenges {
    padding-top: 50px;
}

.cci-challenge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.cci-challenge-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cci-points {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 5px;
}

.cci-challenge-header span:not(.cci-points) {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: normal;
}

.cci-challenge-content {
    flex: 1;
    padding: 0px 30px;
    align-self: flex-start;
}

.cci-challenge h3 {
    font-size: 24px;
}

.cci-challenge-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cci-challenge-footer .btn-solid {
    background: #c36;
    color: #fff;
    padding: 5px 20px;
    border-radius: 3px;
    margin-bottom: 10px;
}

/*Leaderboard*/
.cci-today-tasks-data-row:hover {
    cursor: pointer;
    background: #f5f5f5;
}

.cci-leaderboard-container {
    margin-bottom: 40px;
}

.cci-leaderboard-header,
.cci-today-tasks-header {
    padding: 2px 0;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 1px 6px rgb(0 0 0 / 28%);
}

.cci-leaderboard-header span {
    font-weight: bold;
}

.cci-today-tasks-header span {
    font-weight: bold;
}

.cci-leaderboard-content,
.cci-today-tasks-content {
    border-radius: 5px;
    box-shadow: 0 1px 6px rgb(0 0 0 / 28%);
    max-height: 500px;
    overflow: auto;
}

.cci-leaderboard-row,
.cci-today-tasks-row {
    display: flex;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

.cci-leaderboard-header .cci-leaderboard-row,
.cci-today-tasks-header .cci-today-tasks-row {
    border: 0;
}

.cci-leaderboard-row .rank,
.cci-leaderboard-row .points,
.cci-today-tasks-row .points,
.cci-today-tasks-row .start_date,
.cci-today-tasks-row .end_date,
.cci-today-tasks-row .expiry_date {
    width: 100px;
}

.cci-today-tasks-row .task_title {
    width: 70%;
}

.cci-leaderboard-row .name {
    width: 100%;
}

.cci-today-tasks-row .name {
    width: 100%;
}

.cci-popup-loading {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: #ffffffc9;
    z-index: 99;
}

.cci-popup-loading.cci-show {
    display: flex;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #c36;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #c36 transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@media (max-width:500px) {
    .cci-popup {
        width: 90%;
        min-width: 90%;
    }

}