.closeModalOccasion {
    color: #000 !important;
}

.todo-title {
    margin-bottom: 22.5px !important;
}

.todo-occasion-filter {
    display: flex;
    justify-content: space-between;
}

.todo-occasion-filter>* {
    width: calc(50% - 8px) !important;
    margin-bottom: 16px;
}

.todo-sort-date {
    display: flex;
    align-items: center;
}


.sort-count-section {
    margin-top: 6.5px;
}


.cl-sort-checkbox {
    position: relative;
}

body .cl-sort-checkbox input[type=checkbox],
body .cl-sort-checkbox input[type=checkbox]:focus{
    position: absolute;
    right: -27px;
    top: 0;
    width: 20px !important;
    height: 20px !important;
    margin-top: 0;
    margin-left: 0 !important;
    z-index: 10;
    border-width: 0 !important;
    background: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: pointer;
}

.cl-sort-checkbox input:after {
    content: '';
    display: block;
    width: 20px !important;
    height: 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12' fill='none'%3E%3Cpath d='M6.87767 11.9037V10.0756H11.1223V11.9037H6.87767ZM3.0882 6.91404V5.08594H14.9118V6.91404H3.0882ZM0.246094 1.9244V0.083252H17.7539V1.9244H0.246094Z' fill='black'/%3E%3C/svg%3E") !important;
    background-size: 17px 12px !important;
    background-position: center !important;
    background-repeat: no-repeat;
    margin: 0 !important;
    z-index: -1;
}

.cl-sort-checkbox input:checked:after {
    transform: rotate(-180deg);
}

.todo-grid-2 {
    display: grid;
    align-content: flex-start;
    grid-template-columns: repeat(2, calc(50% - 8px));
    justify-content: space-between;
    grid-gap: 17px 16px;
    align-items: flex-start;
}

.todo-occasion-item {
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
}

.todo-occasion-items .todo-occasion-item+.todo-occasion-item {
    margin-top: 16px;
}

.todo-occasion-content {
    padding: 12px 10px;
}

.todo-occasion-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.todo-occasion-content .accordion-collapse {
    margin-top: 10px;
}

.todo-occasion-item-info {
    display: flex;
    flex-direction: column;
    max-width: calc(100% - 60px);
}

.todo-occasion-item-info-wrap {
    display: flex;
    width: calc(100% - 50px);
    align-items: center;
}

.todo-occasion-item-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    margin-right: 8px;
}


/* grey */
.prepare_birthday_img.todo-icon-grey {
    background-image: url(../images/icons/occasion/grey/gift.svg);
}

.birthday_wish_img.todo-icon-grey {
    background-image: url(../images/icons/occasion/grey/candel.svg);
}

.welcome_new_top1_img.todo-icon-grey {
    background-image: url(../images/icons/occasion/grey/hands-stars.svg);
}

.welcome_new_top3_img.todo-icon-grey {
    background-image: url(../images/icons/occasion/grey/hands.svg);
}

.churn_img.todo-icon-grey {
    background-image: url(../images/icons/occasion/grey/churn.svg);
}

.thank_you_img.todo-icon-grey {
    background-image: url(../images/icons/occasion/grey/heart.svg);
}

.manaul_todo_img.todo-icon-grey {
    background-image: url(../images/icons/occasion/grey/calendar.svg);
}

/* green */
.prepare_birthday_img.todo-icon-green {
    background-image: url(../images/icons/occasion/green/gift.svg);
}

.birthday_wish_img.todo-icon-green {
    background-image: url(../images/icons/occasion/green/candel.svg);
}

.welcome_new_top1_img.todo-icon-green {
    background-image: url(../images/icons/occasion/green/hands-stars.svg);
}

.welcome_new_top3_img.todo-icon-green {
    background-image: url(../images/icons/occasion/green/hands.svg);
}

.churn_img.todo-icon-green {
    background-image: url(../images/icons/occasion/green/churn.svg);
}

.thank_you_img.todo-icon-green {
    background-image: url(../images/icons/occasion/green/heart.svg);
}

.manaul_todo_img.todo-icon-green {
    background-image: url(../images/icons/occasion/green/calendar.svg);
}

/* red */
.prepare_birthday_img.todo-icon-red {
    background-image: url(../images/icons/occasion/red/gift.svg);
}

.birthday_wish_img.todo-icon-red {
    background-image: url(../images/icons/occasion/red/candel.svg);
}

.welcome_new_top1_img.todo-icon-red {
    background-image: url(../images/icons/occasion/red/hands-stars.svg);
}

.welcome_new_top3_img.todo-icon-red {
    background-image: url(../images/icons/occasion/red/hands.svg);
}

.churn_img.todo-icon-red {
    background-image: url(../images/icons/occasion/red/churn.svg);
}

.thank_you_img.todo-icon-red {
    background-image: url(../images/icons/occasion/red/heart.svg);
}

.manaul_todo_img.todo-icon-red {
    background-image: url(../images/icons/occasion/red/calendar.svg);
}

/* yellow */
.prepare_birthday_img.todo-icon-yellow {
    background-image: url(../images/icons/occasion/yellow/gift.svg);
}

.birthday_wish_img.todo-icon-yellow {
    background-image: url(../images/icons/occasion/yellow/candel.svg);
}

.welcome_new_top1_img.todo-icon-yellow {
    background-image: url(../images/icons/occasion/yellow/hands-stars.svg);
}

.welcome_new_top3_img.todo-icon-yellow {
    background-image: url(../images/icons/occasion/yellow/hands.svg);
}

.churn_img.todo-icon-yellow {
    background-image: url(../images/icons/occasion/yellow/churn.svg);
}

.thank_you_img.todo-icon-yellow {
    background-image: url(../images/icons/occasion/yellow/heart.svg);
}

.manaul_todo_img.todo-icon-yellow {
    background-image: url(../images/icons/occasion/yellow/calendar.svg);
}

.todo-occasion-item-info span:first-child {
    font-size: 10px;
    line-height: 11px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.todo-occasion-item-info span:last-child {
    font-size: 16px;
    line-height: 18px;
}

body .todo-arrow-btn {
    width: 15px !important;
    height: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body .todo-arrow-btn:after {
    content: '';
    width: 15px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='8' viewBox='0 0 15 8' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.165513 0.991066C-0.0609013 0.758868 -0.0542205 0.397028 0.180625 0.172607C0.41547 -0.0518139 0.794117 -0.0581981 1.0371 0.158166L7.61512 6.4442L13.9629 0.158165C14.2059 -0.0581992 14.5845 -0.051815 14.8194 0.172606C15.0542 0.397027 15.0609 0.758867 14.8345 0.991065L7.61512 8L0.165513 0.991066Z' fill='black'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    transform: rotate(0deg);
    transition: all 0.2s ease;
}

body .todo-arrow-btn.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg) !important;
}

.todo-profile-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.todo-profile-title {
    font-size: 17px;
    line-height: 19px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.todo-occasion-item .todo-profile-title {
    margin-right: 10px;
    text-overflow: initial;
    overflow: initial;
    white-space: initial;
}

.todo-profile-badge {
    display: flex;
    width: auto;
    max-width: 170px;
    min-height: 36px;
    padding: 7px 16px;
    background: #FFFFFF;
    align-items: center;
    border-radius: 8px;
}

.todo-profile-badge span:first-child {
    font-size: 11px;
    line-height: 16px;
}

.todo-profile-badge span:last-child {
    display: block;
    height: 100%;
}

.todo-profile-badge span:last-child::after {
    margin-left: 10px;
}

.todo-comment span+span,
.todo-skip-reason span+span {
    margin-top: 4.5px;
}

.todo-action-btns {
    display: flex;
}

.todo-action-btns .cl-btn-green {
    width: 100%;
}

.todo-action-btns>a+a {
    margin-left: 16px;
}

.todo-action-btns.disable {
    display: none;
}

.todo-occasion-item-footer {
    padding: 12px 10px;
    background-color: #f1f1f1;
}

.todo-occasion-list {
    position: relative;
}
.todo-occasion-list .cl-read-more{
    position: absolute;
    width: 100%;
    bottom: -72px;
    padding-bottom: 15px;
}
.todo-occasion-list .cl-read-more span,
.todo-occasion-list .cl-read-more a{
    margin-top: 0;
}


@media screen and (max-width: 767px) {
    .todo-grid-2 {
        grid-template-columns: 1fr;
    }

    .todo-occasion-filter>* {
        width: 100% !important;
    }

    .todo-occasion-filter {
        flex-direction: column;
    }

    .todo-occasion-filter select {
        width: 100%;
    }
}